Issue with uploading PDFs to Sanity studio, resolved by updating sanity-plugin-media.
press Ctrl + Shift + J (or Cmd + Shift + J on a Mac).
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"@sanity/base": "^2.35.2",
"@sanity/core": "^2.35.0",
"@sanity/dashboard": "^2.36.0",
"@sanity/default-layout": "^2.35.2",
"@sanity/default-login": "^2.35.2",
"@sanity/desk-tool": "^2.35.2",
"@sanity/eslint-config-studio": "^2.0.1",
"@sanity/vision": "^2.35.2",Was this answer helpful?
Sanity – Build the way you think, not the way your CMS thinks
Sanity is the developer-first content operating system that gives you complete control. Schema-as-code, GROQ queries, and real-time APIs mean no more workarounds or waiting for deployments. Free to start, scale as you grow.