A space to discuss GraphQL queries, mutations, troubleshooting, throttling, and best practices.
Hi,
Trying to get 30 days orders,
Getting INTERNAL_SERVER_ERROR, cant understand why.
Bulk Id: gid://shopify/BulkOperation/4176132735146
X-Request-ID: 823fd154-698c-4a9c-a5df-85df83ffdda7
Any suggestions?
Hey @Amit_Roznak1 - thanks for waiting on our reply here. I was able to pull some data in our logs and have identified a potential error on our end. I'm reaching out to our product team on this now - I will update you when I have some more information to share.
One thing that I do just want to mention in case this resolves the issue is that in our docs we do mention that 5xx errors can happen infrequently and the best troubleshooting method is to retry the bulk op (particularly for larger/multi-object queries) - if you're still seeing the issue persist after you retry though, no worries - did just want to share that in case it's helpful.
Please ping me here if you have any more updates or if I can clarify anything - I'll reach out again here once I have touched base with our product team.
Al | Shopify Developer Support
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
Hey @Amit_Roznak1 - just following up here with some info. I was able to do a bit more investigation with the product team and we were able to replicate the issue on our end after using the query you had embedded in the bulk operation.
Our product team was able to pinpoint the error potentially occurring due to the inclusion of the landingPageUrl GQL field If it's removed from the query then it runs as expected. This is most likely because the landingPageUrl field is deprecated.
We tried the query with a supported field: customerJourneySummary.lastVisit.landingPageHtml and this appears not to error out. Can you try the query again with the landingPageHTML? This should process the bulk operation correctly and output the list of orders as expected. If this doesn't work or returns another error, could you please reach out to our Partner Support Team directly through your partner dashboard and link to this thread? They should be able to get in touch with one of our internal API Support team members who may be able to assist further.
Hope this helps - and thanks for waiting on my response here.
Al | Shopify Developer Support
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
Thanks, I will give it a try.