"Bad Chunk Size" error when other platform calling Jira API. The Jira issue key didn't reply to the platform. Is there anyone who knows about this?
Hi Jason,
Can you post an example of the REST call you are executing including its headers?
Hi Charlie, I just got the REST call. It's /rest/api/2/issue/
Head:
<html>
<head>
<title>Forbidden (403)</title>
<!--[if IE]><![endif]-->
<script type="text/javascript">
(function() {
var contextPath = '';
var eventBuffer = [];
function printDeprecatedMsg() {
if (console && console.warn) {
console.warn('DEPRECATED JS - contextPath global variable has been deprecated since 7.4.0. Use `wrm/context-path` module instead.');
}
}
function sendEvent(analytics, postfix) {
analytics.send({
name: 'js.globals.contextPath.' + postfix
});
}
function sendDeprecatedEvent(postfix) {
try {
var analytics = require('jira/analytics');
if (eventBuffer.length) {
eventBuffer.forEach(function(value) {
sendEvent(analytics, value);
});
eventBuffer = [];
}
if (postfix) {
sendEvent(analytics, postfix);
}
} catch(ex) {
eventBuffer.push(postfix);
setTimeout(sendDeprecatedEvent, 1000);
}
}
Object.defineProperty(window, 'contextPath', {
get: function() {
printDeprecatedMsg();
sendDeprecatedEvent('get');
return contextPath;
},
set: function(value) {
printDeprecatedMsg();
sendDeprecatedEvent('set');
contextPath = value;
}
});
})();
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jason,
I don't think I really understand what you're dealing with exactly.
I missed the part where you said "other platform". Do you see the "bad chunk size" in the UI of that other platform?
Can you post a screenshot?
I also found this related bug report. Perhaps it is related to your issue.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Charlie, we also met some other errors, such as 405 when using automation calling. But manually calling the API to create Jira issue succeeded. Is there any unstable system reason or else?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jason,
What do you mean with "automation calling"? I don't understand how you are making those http requests. if they are being made by another program I assume that program is not properly creating the requests.
405 response means: method not allowed. For example: doing a GET when it should be a POST.
Bad chunk size: could be a bug like https://jira.atlassian.com/browse/JSWSERVER-20190 or a very large request that can't be handled by Jira.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jason,
An http 400 response meanse "bad request". It means that the request is malformed or contains something that the target can not process. In other words: the error is usually on the client side.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.