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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Jira Service Desk

How the Telegram Integration for Jira helps Sergey's team take their support efficiency to the bank

...+ reading Fantasy). The same is true for him at the bank he works for: Efficiency is key when time literally equals money. Read on to learn how Sergey makes most of the time he has by...

399 views 2 4
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