Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

We are receiving some random error from shopify api calls like 502, 503, Internal server error etc.

We are receiving some random error from shopify api calls like 502, 503, Internal server error etc.

hareshreconvert
Shopify Partner
6 0 0

We are using API version 2023-07. 
We using following packages:

"@shopify/shopify-api": "^7.5.1",
"@shopify/shopify-app-express": "^2.2.1",

When validateAuthenticatedSession middleware is called, it requests this GraphQL query and some times it fails 502 or 503 etc. errors,

/admin/api/2023-07/graphql.json

query shopifyAppShopName {
  shop {
    name
  }
}

We recieved 808d702e-9588-44c2-a69c-253213341cd7 id on one of such failed requests.

I found some question where it say if API call limit exceeds then it may throw this kind of errors but I have checked and we are sending 10-15 requests only in one minute so this shouldn't the case.


 

Replies 8 (8)

SBD_
Shopify Staff
1831 273 422

Hey @hareshreconvert 

 

Our logs indicate that wasn't querying the shop name it was performing a CreateCollection mutation. It looks like Plus TMS are looking into this for you.

Scott | Developer Advocate @ Shopify 

hareshreconvert
Shopify Partner
6 0 0

Thank you @SBD_ 

This query is not being triggered by us but it is from shopify node libraries mentioned in my question.

Please let me know once you find something because we received 2 more errors since yesterday.

  • 503 Error - Id: b3f04316-a678-4603-929c-74cb1197bb0c
  • 502 Error - Id: e0ea36b3-43f3-4947-a79d-d69d64efc9b0

I hope that will help you.

SBD_
Shopify Staff
1831 273 422

Hey @hareshreconvert 

 

Please include these IDs in your thread with Plus TMS.

Scott | Developer Advocate @ Shopify 

hareshreconvert
Shopify Partner
6 0 0

Hello @SBD_ 

 

Where can I find the thread with Plus TMS?

SBD_
Shopify Staff
1831 273 422

Hey @hareshreconvert 

 

I thought I saw a thread with Technical Support - my mistake, if you're not already chatting with them please pass along these details via your Partner dashboard -> Support.

Scott | Developer Advocate @ Shopify 

hareshreconvert
Shopify Partner
6 0 0

Hello @SBD_ 
I tried to contact the support but it redirects me the same place from where I had created this ticket. So how exactly I can contact Plus TMS?

SBD_
Shopify Staff
1831 273 422

Hey @hareshreconvert 

 

It's via the Partner Dashboard > Support > Contact Partner Support > Select the organization > API Support > Email Us.

 

Let me know if you get stuck.

Scott | Developer Advocate @ Shopify 

hareshreconvert
Shopify Partner
6 0 0

Thank you @SBD_ 

I have followed that and reported the issue. Ticket has been created with id 41413641.

Can you please tell me where I can track that?

Regards,

Haresh Godhani