A space to discuss GraphQL queries, mutations, troubleshooting, throttling, and best practices.
Overview
When placing orders on shopify, we are occasionally getting a 422 with "unexpected end of JSON input" in the response body. But if we retry the same exact request again, it will succeed. Our temporary fix right now is to retry these particular requests. Does anyone know why this error is being caused?
My bad, it actually returns an empty response body with 422 status code. unexpected end of JSON input is just our error message when processing the response body.