You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We just auto-updated to v5.8.0 in a standard deploy last night, and then noticed that all of a sudden we were having both session/authentication issues with our embedded app in Shopify, as well as issues with GraphQL queries failing inside of our app.
After an extreme amount of troubleshooting, we realized that hardcoding v5.7.0 of this library in our app resolved the above issues.
Expected behavior
Not breaking API calls
Actual behavior
Authentication/session issue in Shopify resulting in embedded app not loading within Shopify; with a 401 Unauthorized error in the console
GraphQL API queries resulting in a 400 Bad Request message from Shopify;
The below error occurring: Syntax error {"exception":"[object] (JsonException(code: 4): Syntax error at /var/app/current/vendor/shopify/shopify-api/src/Clients/HttpResponse.php:48)
Issue summary
We just auto-updated to v5.8.0 in a standard deploy last night, and then noticed that all of a sudden we were having both session/authentication issues with our embedded app in Shopify, as well as issues with GraphQL queries failing inside of our app.
After an extreme amount of troubleshooting, we realized that hardcoding v5.7.0 of this library in our app resolved the above issues.
Expected behavior
Not breaking API calls
Actual behavior
Syntax error {"exception":"[object] (JsonException(code: 4): Syntax error at /var/app/current/vendor/shopify/shopify-api/src/Clients/HttpResponse.php:48)
Steps to reproduce the problem
Checklist
The text was updated successfully, but these errors were encountered: