update product response 502 status code

update product response 502 status code

lawlietwu
Tourist
4 0 1

The 502 status code returned by you will appear in 90% of the cases where we use the rest api for product update. This has been the case since April 2, 2022, and the rest api called is /admin/api/2020-10/products/{product_id}.json, the following two domain names have this situation shopnewbella.myshopify.com and moco-official.myshopify.com

 

Any insights would be really helpful!

 

Thanks!!

Replies 7 (7)

awwdam
Shopify Staff
249 42 36

Hey @lawlietwu,

Along with the 502 error code mentioned, there should also be an x-request-id response in the headers returned. Can you log this value for a request with the specific error and share it back here? An an example of the request payload body that was sent would also be helpful.

With that, I can take a closer look,  provide insights, suggestions, or next steps moving forward - Cheers! 

awwdam | API Support @ Shopify
- Was my reply helpful? Click Like to let me 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

sebastianep
Shopify Partner
2 0 0

I am getting the same error code when updating a product

Request Id is e6fb96bc-2835-4164-9543-5fb27728af6b

I have pasted the graphql query here: https://pastebin.com/HZyks2qJ

lawlietwu
Tourist
4 0 1

x-request-id is b1abf9cb-e791-4b93-8bc3-90fe0ec527bc ,c1a300da-5023-48bc-8a1c-ca04eefe9515,8a6362e2-5dec-401f-b7dd-30a16d485a5f

shop is moco-official.myshopify.com

please help me,thanks!!!

vincentye54664
Shopify Partner
8 0 1

x-request-id is b1abf9cb-e791-4b93-8bc3-90fe0ec527bc ,c1a300da-5023-48bc-8a1c-ca04eefe9515,8a6362e2-5dec-401f-b7dd-30a16d485a5f

shop is moco-official.myshopify.com

please help me,thanks!!!

vincentye54664
Shopify Partner
8 0 1

x-request-id is b1abf9cb-e791-4b93-8bc3-90fe0ec527bc ,c1a300da-5023-48bc-8a1c-ca04eefe9515,8a6362e2-5dec-401f-b7dd-30a16d485a5f

shop is moco-official.myshopify.com

please help me,thanks!!!

vincentye54664
Shopify Partner
8 0 1

please help us!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

vincentye54664
Shopify Partner
8 0 1

sos!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!