doesn't get url or secure_url in response

Comments

1 comment

  • Avatar
    Aleksandar Kostadinov

    Hi Daniel,

    I see that you've raised this question here as well as directly to us via a Zendesk ticket where it was resolved. I'll go ahead and share the details in this post as well in case any other user runs into such a scenario.

    The solution was to parse the response body as JSON and then access the relevant response field (url / secure_url in this case). For example -

    .then(response => response.json())
    .then(data => {
      console.log(data);
    })
    1
    Comment actions Permalink

Please sign in to leave a comment.