It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage
Highlighted

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
TAGS

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you