Skip to main content

Not able to upload PDF files

Comments

1 comment

  • Stephen Doyle

    Hi,

    In your example code, you're sending more parameters in the Upload API call than are being used to generate the signature. 

    In general, we recommend using one of our SDKs to create your API call because it will sign the necessary parameters for you, but if you want to generate the signature manually, there's a guide here with more information: https://cloudinary.com/documentation/upload_images#generating_authentication_signatures
    https://cloudinary.com/documentation/signatures

    The error response from our API in this case should help you to identify which fields were missing or changed between the time you created the signature and the time you made the API call, and in your example above it looks like the 'raw_convert' property is missing from the signature creation.

    Please let me know if that works for you after updating the signature generation

    Regards,

    Stephen

    PS. I also noticed that your post included a string that looked like an API secret, which I've removed from this public forum for your security. If that was indeed your API secret, I highly recommend that you change your API key and secret using the security tab of your account settings.

    0

Post is closed for comments.