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

'FST_ERR_CTP_INVALID_MEDIA_TYPE' #1059

Closed
vinnycosta1998 opened this issue Sep 21, 2024 · 2 comments
Closed

'FST_ERR_CTP_INVALID_MEDIA_TYPE' #1059

vinnycosta1998 opened this issue Sep 21, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@vinnycosta1998
Copy link

I need to send images to the backend and I still have the same problem 'FST_ERR_CTP_INVALID_MEDIA_TYPE', I have already installed @fastify/muiltipart and configured it in the application, below is how I did it

Screenshot 2024-09-21 at 15 05 11 Screenshot 2024-09-21 at 15 06 01 Screenshot 2024-09-21 at 15 07 18
@dosubot dosubot bot added the bug Something isn't working label Sep 21, 2024
@climba03003
Copy link
Member

Since there's no runnable code provided, I guess you can try to place the appRoutes to the bottom.
It depends, but sometimes order of registration is important.

@vinnycosta1998
Copy link
Author

Seriously, I did what you wrote and solved this problem, thanks bro.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants