Shopify private app stops working after couple of successful API calls

Solved
Wrooker_com
New Member
7 0 0

Hi,

 

I have created a private app for my store, to manage products only. I am currently testing it via POSTMAN app. It works for couple of calls in a day, But then suddenly starts returing a HTML page which has anchor link of a "continue" only.

 

Can anyone please tell me what is going on here.

 

Thanks

-Prateek

0 Likes
_JB
Shopify Staff
Shopify Staff
803 93 174

This is an accepted solution.

Hey @Wrooker_com,

 

This is a Postman thing, I have the same issue from time to time. I believe this has to do with Postman storing cookies, if you make a request but forget to append .json to the URL, Postman will store the cookies from that response and attempt to use them for future requests. When this happens, you just need to delete any stored cookies:

 

20-03-jain0-ob2l1

 

I'm not sure how to disable cookies completely in Postman, but if you use Insomnia you can do it by right clicking on your request, and unchecking the "store cookies" checkbox (Insomnia supports GraphQL, and I prefer the UI so it's what I use everyday)

JB | Developer 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

0 Likes
Wrooker_com
New Member
7 0 0

Yep, that was the solution. Thanks

0 Likes