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
When uploading or displaying an already uploaded .svg file (may occur with other file types, I only tested with .svg) from the image field, an "unsupported media type" error is shown.
When uploading, the POST request to /files returns a 200 status code and does, in fact, upload correctly.
There seems to be no issue when uploading an .svg file directly from the file library.
Can confirm. I have the same issue in directus 10.11.0 running in a docker compose project. File is properly uploaded and available via the api but in the backend UI it displays the image error as mentioned by OP
Describe the Bug
When uploading or displaying an already uploaded .svg file (may occur with other file types, I only tested with .svg) from the image field, an "unsupported media type" error is shown.
When uploading, the POST request to
/files
returns a 200 status code and does, in fact, upload correctly.There seems to be no issue when uploading an .svg file directly from the file library.
This bug may have been introduced in #22307.
To Reproduce
Upload an .svg image using the "image" field.
Directus Version
v10.11.0
Hosting Strategy
Self-Hosted (Docker Image)
The text was updated successfully, but these errors were encountered: