A space to discuss GraphQL queries, mutations, troubleshooting, throttling, and best practices.
I am creating bundle page. For that i am using checkout REST api for create checkout and redirect to it. After call ing this api, i get response with no error and status code 200. However when i redirect to web_url that is return by checkout api, i got 422 error. I don't know what is the issue.
Hey @Jasoliya, this is a great question. Just to confirm - are you filtering that generated web_url into another API call to redirect a user or are you just accessing it through a browser? If you're accessing it through a browser, could you share the X-Request-ID you'd receive in response to the REST call you made to generate the web_url value and if not through the browser, could you the X-Request-ID from the response header where you received the 422 response?
With that we can take a closer look at the error on our end to see what may have been the cause. Hope to hear from you soon!
Developer Support @ Shopify
- Was this reply helpful? Click Like to let us know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog