APIs & Integrations

lazar
Member

File Upload API returns 400

SOLVE

I'm having trouble uploading a file to the File API. My request is authorized using an API key. Here's the response:
Problem accessing /filemanager/api/v3/files/upload

0 Upvotes
1 Accepted solution
lazar
Solution
Member

File Upload API returns 400

SOLVE

Hey @quentin_lamamy, I was using fetch on the backend, and that's what was causing the problems. I switched to axios and the issue got resolved!

View solution in original post

4 Replies 4
quentin_lamamy
Key Advisor | Diamond Partner
Key Advisor | Diamond Partner

File Upload API returns 400

SOLVE

It's becasue the url doesn't exist, please post it here please

hsSign_smaller.png


0 Upvotes
quentin_lamamy
Key Advisor | Diamond Partner
Key Advisor | Diamond Partner

File Upload API returns 400

SOLVE

Hi @lazar Can you show us your code ?

 

hsSign_smaller.png


0 Upvotes
lazar
Member

File Upload API returns 400

SOLVE

I got a different problem now. When I open the URL that's being returned it gives me 404.

0 Upvotes
lazar
Solution
Member

File Upload API returns 400

SOLVE

Hey @quentin_lamamy, I was using fetch on the backend, and that's what was causing the problems. I switched to axios and the issue got resolved!