I’m trying to upload a file with
content_type: “image/jpeg”
data: “some_insanely_long_base64”
filename: “158387245178496456382685421491.jpg”
token: “secret_token”
And I just get “API Endpoint not found”.
If I use a non-pro account I get a correct response that Pro is needed.
Maybe the base64 string is too long? Any advice @Shida ?
I just checked the server logs - seems like we failed to handle the case where “data” was null. Not sure why your request gave null to the server, and also not sure why you got API endpoint not found. I’ll fix this error handling, but you might have to investigate why your request isn’t being understood correctly by the server.
Also I was able to upload your sample image just fine using:
It seems to be a problem with the length of the base64 string. Here are two json POST bodies to reproduce the problem (I used postman to reproduce, the small one is simply a truncated base64). You still need to replace the token.