Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File type None is not supported. #365

Open
sentry-io bot opened this issue Feb 10, 2024 · 1 comment
Open

File type None is not supported. #365

sentry-io bot opened this issue Feb 10, 2024 · 1 comment

Comments

@sentry-io
Copy link

sentry-io bot commented Feb 10, 2024

File type None is not supported.

To reproduce: remove the file extension from a file (i used mv x.py x for testing) and curl with dev API

This is likely because fast API didn't find the mime type, add some logic if we can detect the file type in this case, otherwise catch the error and return more useful suggestion like please include the file extension in your filename.

@jaredmcqueen
Copy link

Screenshot 2024-04-16 at 11 05 11 PM Screenshot 2024-04-16 at 11 05 28 PM

same file, just different name. Can we manually pass in mime type?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant