-
Bug
-
Resolution: Fixed
-
Low
-
3
-
Severity 3 - Minor
-
Issue Summary
Uploading images on mobile causes attachment(s) to have a file name in the format "mediafile-placeholder-RANDOM_NUMBERS)". This causes all images on the page to fail to load with the "Failed to load" error message.
Steps to Reproduce
- Upload several images very fast on mobile, possibly with poor wifi.
Expected Results
You see all images on the page.
Actual Results
All images on the page fail to load.
The request to fetch the media fails with a 401 error.
Request URL: https://api.media.atlassian.com/items Request Method: POST Status Code: 401
{"error":{"code":"AuthenticationError","title":"Could not decode and validate token: urn \"urn:filestore:file:mediafile-placeholder-4409179056)\" does not conform to a format \"^(\\w+):(\\w+):(\\w+):?([\\w\\-*%]+)?$\""}}
Workaround
Go to the attachments page and delete any files in the format "mediafile-placeholder-RANDOM_NUMBERS)". This will cause all the images on the page to load except the ones that corresponded to the files you deleted. Then you can re-upload/replace those images.