Bug in upload of attachments

Recently, users of the company using jira reported that an error message appears when a file upload is performed within Jira Software.

There is another discussion  (LINK) about the problem, it's seems that issue is linked to permissions of IP Ranges and Proxy, however we don't have rules in proxy or ip range.

The error code is just below.

Is there any contouring solution?

{
"config": {
"transformRequest": {},
"transformResponse": {},
"timeout": 0,
"xsrfCookieName": "XSRF-TOKEN",
"xsrfHeaderName": "X-XSRF-TOKEN",
"maxContentLength": -1,
"headers": {
"Accept": "application/json, text/plain, */*",
"Authorization": "Bearer eyJhbGciOiJIUzI1NiJ9.eyJpc3MiOiIzYzZiNmQ4ZC0xNTFhLTQzNTItOTc4MS00ZGNkOTAyYmEzYjQiLCJhY2Nlc3MiOnsidXJuOmZpbGVzdG9yZTp1cGxvYWQ6KiI6WyJyZWFkIiwiY3JlYXRlIiwidXBkYXRlIl0sInVybjpmaWxlc3RvcmU6Y29sbGVjdGlvbjp1cGxvYWQtdXNlci1jb2xsZWN0aW9uLTMyODA4NjkyMiI6WyJyZWFkIiwiY3JlYXRlIiwidXBkYXRlIl0sInVybjpmaWxlc3RvcmU6Y2h1bms6KiI6WyJyZWFkIiwiY3JlYXRlIl19LCJleHAiOjE1MTE5ODY0MzQsIm5iZiI6MTUxMTk4NTE3NH0.4mJU0GaMrpRrkFDM4o9y8YNCRvsCYrJ1_O7GrglBhxQ",
"X-Client-Id": "3c6b6d8d-151a-4352-9781-4dcd902ba3b4",
"Content-Type": "application/json; charset=utf-8"
},
"method": "POST",
"url": "https://media-api.atlassian.io/file/upload",
"params": {},
"data": {
"name": "FILE_ATTACHMENT.png",
"mimeType": "image/png",
"uploadId": "65fe8b8d-74d6-47ce-9237-3ca4b3ff3297"
}
},
"response": {
"data": {
"error": {
"code": "JwtAuthoriser:AuthorisationError",
"title": "The token does not allow requested operation. \"urn:filestore:file\" needs \"create\" permission",
"href": "https://media-api.atlassian.io#UnauthorizedError"
}
},
"status": 403,
"statusText": "Forbidden",
"headers": {
"content-type": "application/json",
"content-length": "218"
},
"config": {
"transformRequest": {},
"transformResponse": {},
"timeout": 0,
"xsrfCookieName": "XSRF-TOKEN",
"xsrfHeaderName": "X-XSRF-TOKEN",
"maxContentLength": -1,
"headers": {
"Accept": "application/json, text/plain, */*",
"Authorization": "Bearer eyJhbGciOiJIUzI1NiJ9.eyJpc3MiOiIzYzZiNmQ4ZC0xNTFhLTQzNTItOTc4MS00ZGNkOTAyYmEzYjQiLCJhY2Nlc3MiOnsidXJuOmZpbGVzdG9yZTp1cGxvYWQ6KiI6WyJyZWFkIiwiY3JlYXRlIiwidXBkYXRlIl0sInVybjpmaWxlc3RvcmU6Y29sbGVjdGlvbjp1cGxvYWQtdXNlci1jb2xsZWN0aW9uLTMyODA4NjkyMiI6WyJyZWFkIiwiY3JlYXRlIiwidXBkYXRlIl0sInVybjpmaWxlc3RvcmU6Y2h1bms6KiI6WyJyZWFkIiwiY3JlYXRlIl19LCJleHAiOjE1MTE5ODY0MzQsIm5iZiI6MTUxMTk4NTE3NH0.4mJU0GaMrpRrkFDM4o9y8YNCRvsCYrJ1_O7GrglBhxQ",
"X-Client-Id": "3c6b6d8d-151a-4352-9781-4dcd902ba3b4",
"Content-Type": "application/json; charset=utf-8"
},
"method": "POST",
"url": "https://media-api.atlassian.io/file/upload",
"params": {},
"data": {
"name": "FILE_ATTACHMENT.png",
"mimeType": "image/png",
"uploadId": "65fe8b8d-74d6-47ce-9237-3ca4b3ff3297"
}
},
"request": {
"_url": "https://media-api.atlassian.io/file/upload"
}
}
}

 

 

0 comments

Comment

Log in or Sign up to comment
Community showcase
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

816 views 3 9
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you