Skip to main content

Image Upload Using Pure Javascript - Not getting Secure URL and Public ID in response

Comments

3 comments

  • Yakir Perlin

    Hi Armash,

    Thanks for reaching out.

    Could you please try with POST and not with GET?

    Please let me know if it works for you.

    Thanks,
    Yakir

    0
  • Ashwin

    hey @Yakir perlin i also have the same issue and I have used post method but still the response status is pending..

     

    0
  • Aleksandar Kostadinov

    Hi Ashwin,

    The most likely reason you are seeing this is if you have the Async setting turned on in your upload preset within your account or have any other Asynchronous task configured, such as running the background removal add-on. Looking at the logs I can see that the initial upload requests were indeed async, but now your upload preset is configured to synchronous uploads so that should work for you, is that the case?

    Best regards,

    Aleksandar

    0

Post is closed for comments.