Development discussions around Shopify APIs
Hi all,
I am uploading product images (> 20,000) thru the GraphQL API. The program is single thread so the upload request will be sent one by one in order to avoid throttling. Everything works fine but after uploaded about 2,000 images. The requests started to fail with the following error.
[API] Invalid API key or access token (unrecognized login or wrong password)
Then i stopped the running process and started over again. At first the requests continued to fail with another error.
Undefined error response (possibly timeout by server)
But after a while, the upload resumed to normal. I wonder if it is somehow related to the API rate limit but i have no idea how to verify the root cause of the problem.
Any suggestions are appreciated.
Regards,
Kit
Hi Vix,
Thanks for your reply. Unfortunately, I dun have the request ID.
The upload is triggered by clicking a button on the private shopify app UI and i met the same error again the next day after uploading the images for > 20 hours.
When the problem occured, i found that any buttons i clicked on the app UI will fail and i have to refresh the page in order to get them working again. I guess it is becoz after a long period of time, the authentication has expired so the request failed.
Anyway, i finally uploaded all the images. Thanks again.
Regards,
Kit
User | RANK |
---|---|
10 | |
4 | |
3 | |
3 | |
3 |
As a business owner, have you ever wondered when your customer's first impression of yo...
By Skye Jun 6, 2023We're excited to announce improvements to the threaded messaging experience in our communi...
By TyW May 31, 2023Thank you to everyone who participated in our AMA with Klaviyo. It was great to see so man...
By Jacqui May 30, 2023