Personalized checkout and custom promotions with Shopify Scripts
Hi Shopify Community,
I’m working on updating inventory levels in bulk using the Shopify GraphQL API. My workflow involves:
While the first steps work smoothly (bulk query completes, JSONL file generates), I’m encountering an "INTERNAL_SERVER_ERROR" when requesting the staged upload URL.
Error Response: (This happens consistently across multiple retries.)
{ "errors": [ { "message": "Internal error. Looks like something went wrong on our end.\nRequest ID: <unique-id>", "extensions": { "code": "INTERNAL_SERVER_ERROR", "requestId": "<unique-id>" } } ], "data": null }
This is currently blocking my ability to update inventory in bulk to reflect supplier stock updates. What I’ve Done:
- Format of the JSONL file ( am I mistaken here?):
{"inventoryItemId": "gid://shopify/InventoryItem/1234567890", "available": 100} {"inventoryItemId": "gid://shopify/InventoryItem/1234567891", "available": 50}
- Confirmed the inventory item IDs are valid (retrieved from the previous bulk query).
- Verified my app permissions include write_inventory and read_inventory.
- Retried the request multiple times with consistent errors.
Questions:
1. Has anyone encountered this stagedUploadsCreate internal error before?
2. Is there something I might be missing in the request or setup?
3. Do you have any recommendations for this scenario?
I’d appreciate any insights or guidance, thank you so much!
Hey Community! As we jump into 2025, we want to give a big shout-out to all of you wh...
By JasonH Jan 7, 2025Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024