"public_id" being ignored during upload... always getting back a random public_id
This is the API call I'm making:

and this is what I'm getting back:

why is the "public_id" id a random string, when I specifically set "unique_filename" to false, and even specify my own "public_id". How does this work then? I must have misunderstood the documentation...
0
-
Hi,
According to the logs, the 'public_id' parameter was not passed along with the request. The reason is probably the extra space in your public_id declaration - 'public_id '.Would you mind fixing that and trying again?
1 -
that was a stupid mistake... you are right. Extra space was the issue. Removed it and everything is working as expected. Mark this as solved.
0
Post is closed for comments.
Comments
2 comments