You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When attempting to upload an SVG image, the file fails to upload and I'm presented with the following error from NextJS's error modal:
It looks like this problem is restricted to Firefox.
I've tried the same setup in Opera GX LVL4 (Chromium version:113.0.5672.127) and SVGs upload without error.
Describe the bug
When attempting to upload an SVG image, the file fails to upload and I'm presented with the following error from NextJS's error modal:
More verbose stack trace
To Reproduce
Expected behavior
Media file to upload successfully without errors and be available for use inside Sanity Studio.
Environment (desktop)
node --version
v16.16.0yarn --version
1.22.19Package Versions
sanity-plugin-media 2.0.5
next 13.4.6
npx sanity versions
@sanity/cli (global) 3.12.2 (up to date)
@sanity/asset-utils 1.3.0 (up to date)
@sanity/dashboard 3.1.4 (up to date)
@sanity/image-url 1.0.2 (up to date)
@sanity/preview-kit 1.5.4 (latest: 2.2.2)
@sanity/server 3.1.4 (up to date)
@sanity/table 1.0.1 (up to date)
@sanity/vision 3.12.1 (latest: 3.12.2)
sanity 3.12.2 (up to date)
Additional context
The text was updated successfully, but these errors were encountered: