POST call /inventory_levels/set.json returns internal server error

Tillion
New Member
2 0 0

Within a month, we began to notice that the integration with Shopify sometimes does not update the stock, although our system works correctly. Yesterday we noticed that Shopify returns an Internal server error when trying to update the stock. This does not happen all the time, but it is critical for our system.
A screenshot of yesterday's tests is attached, today everything runs without errors.

1n75gfmFfoy_TYkwLiJ--6tXzd7ra-QKng.png

What is the reason could be for this behavior?

Replies 3 (3)
L_J_K
Shopify Staff
Shopify Staff
400 64 81

Hey @Tillion 

Thanks for raising this! Did you have an x-request-id from the request headers fo this failing request by chance? I'll be able to take a dig into the logs. Please let me know - thanks.

 

| Shopify |
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution!
Tillion
New Member
2 0 0

Hi @L_J_K ! Unfortunately it is no longer possible to check the x-request-id. I found out about that this ID could help after the request log became unavailable.

L_J_K
Shopify Staff
Shopify Staff
400 64 81

Hey @Tillion 

Was there a timestamp on these requests? Could help narrow it down.

Failing that, feel free to send me a x-request_id if you see this happen again, and I'll be happy to look right into it. Thanks.

 

| Shopify |
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution!