Issue with uploading PDFs to Sanity studio, resolved by updating sanity-plugin-media.
Last updated: Mar 24, 2023
I’m having an issue just trying to upload a .pdf asset into the media library. The file just seems to be queued but hangs and never does anything. Has anyone experienced this? I have another sanity studio instance with the exact same versions that uploading a pdf works fine on. Are there logs that are viewable somewhere, that might show an error?
Feb 22, 2023, 6:17 AM
Hi User, is there anything in your browser console? press Ctrl + Shift + J (or Cmd + Shift + J on a Mac).
Feb 22, 2023, 7:53 AM
Hey User, actually after about 20-30 seconds I get
media:1 Uncaught (in promise) Error: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received
Feb 22, 2023, 11:15 AM
Does that same PDF upload in the other studio that’s working properly? Are you having issues with all pdfs or just this particular one? Also, what version of the Studio and plugin are you on?
Feb 22, 2023, 6:04 PM
Uploads to the other studio work perfectly, its just this studio but all pdf documents. the versions are: