Root errors
A list of possible errors that can be returned at the root level of the GraphQL API (meaning the errors aren’t scoped to a particular entity in the response)
CANONICAL_DOMAIN_RESOLUTION_ERROR
We were unable to resolve the canonical domain for the store. This generally means that the store is not supported by Rye.
CART_EXPIRED_ERROR
Carts are considered expired in Rye after 10 days. If a cart is expired, it can no longer be used to create an order.
CART_NOT_FOUND_ERROR
Unable to find a cart by a given ID.
GRAPHQL_PARSE_ERROR
The request sent to Rye was not a valid GraphQL operation. There was either a syntax error in your operation, or you didn’t send a valid GraphQL AST.
INTERNAL_SERVER_ERROR
An internal error occurred. This error is usually transient and can be retried.
INVALID_PRODUCT_ID_ERROR
The product ID provided to productByID
is not valid.
INVALID_PRODUCT_URL_ERROR
The product URL provided to requestProductByURL
is not valid.
JSON_PARSE_ERROR
The request sent to Rye failed to parse as JSON. You should check for syntax errors (e.g. trailing commas or extraneous whitespace) and resubmit.
DOMAIN_VALIDATION_ERROR
The domain provided in the request is not valid.
NO_SUCH_SHOPIFY_STORE_ERROR
There is no Shopify store hosted at the domain provided in the request.
PERCENT_VALIDATION_ERROR
Rye expected an integer value between 0 and 100.
PRODUCT_NOT_FOUND_ERROR
This error can be returned after calling requestProductByURL
. If the provided URL is valid, then the underlying Shopify store may not be supported. See Product data not found section for more details.
PRODUCT_NOT_SUPPORTED_ERROR
The requested product cannot be supported by Rye due to technical limitations.
PRODUCT_REQUESTS_LIMIT_REACHED_ERROR
requestProductByURL
limit reached. See Limits section for more details.
QUERY_TOO_COMPLEX_ERROR
The GraphQL operation you sent is too complicated, and has been rejected. Try resubmitting the operation with fewer field selections.
SHOPIFY_SERVICE_TEMPORARILY_UNAVAILABLE
A downstream Shopify service is temporarily unavailable. This error is usually transient and should be retried.
STORE_REQUESTS_FAILED_ERROR
STORE_REQUESTS_SAVED_ERROR
The requestStoreByURL
mutation failed. You should try the request again.
STORE_REQUESTS_LIMIT_REACHED_ERROR
requestStoreByURL
limit reached. See Limits section for more details.
TOO_MANY_REQUESTS
Your request was rejected because you’ve hit a rate limit. See our guide on rate limits for advice on handling this error.
UNAUTHORIZED
UNAUTHENTICATED
Authorization or authentication failed for the request. See our guide on authorization to understand how Rye authorizes API calls.