Have your say in Community Polls: What was/is your greatest motivation to start your own business?
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.

Private App Order API Server Error

Private App Order API Server Error

AddisonApps
Shopify Partner
56 6 14

Hello, I am making a GraphQL request with a private app and getting this error:

{
   "errors":[
      {
         "message":"Internal error. Looks like something went wrong on our end.\nRequest ID: 2cbbc9bc-8801-4f02-a3dd-f76c47ad1f03 (include this in support requests).",
         "extensions":{
            "code":"INTERNAL_SERVER_ERROR",
            "requestId":"2cbbc9bc-8801-4f02-a3dd-f76c47ad1f03"
         }
      }
   ]
}


This is what my query looks like.

		`{
		  orders(first:99, after:` + cursor + `) {
		  	pageInfo {
		  	  hasNextPage
		  	}
		    edges {
		      cursor
		      node {
		        id
		      }
		    }
		  }
		}`

 

The API was working fine until a few hours ago. API is written in Golang.

Thanks for any help!

 

 

 

Replies 4 (4)

Morek
Shopify Partner
835 73 179

Hi @AddisonApps 

Hope you're having a great day!

Did you try your request in the Shopify GraphQL app? Otherwise, install it to explore the GraphQL Admin API and run queries and mutations against your development store.

I just tried it in a development store:

scrnli_05_06_2021_01-35-52.png

During install, the app will ask you to set the access scopes. Select the rights access scopes to give the app the rights to access orders.

If you have any further questions, please do reach out either here on the forum, or via a private message/email.

If you're looking for a Shopify developer or just want to connect, don't hesitate to reach out!
Portfolio: https://mmorek.com/
LinkedIn: https://www.linkedin.com/in/mmorek
WhatsApp: Whatsapp me!
AddisonApps
Shopify Partner
56 6 14

Hi @Morek , Thanks for the reply!

I used the GraphQL app as suggested, here is a screenshot of the response:

Screen Shot 2021-06-04 at 5.07.38 PM.png




AddisonApps
Shopify Partner
56 6 14

Bumping this up as it is still occurring and I have not received any help from Shopify. Their support told me to post here...

AddisonApps
Shopify Partner
56 6 14

This is an internal server error, if it was an access scope issue I should be receiving a 400 error code.