Uploaded image for project: 'Confluence Cloud'
  1. Confluence Cloud
  2. CONFCLOUD-73223

Uploading images on mobile causes invalid file id - mediafile-placeholder

XMLWordPrintable

      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

      1. 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.

              Unassigned Unassigned
              cqian@atlassian.com Clarissa Qian (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: