Topics covering webhook creation & management, event handling, Pub/Sub, and Eventbridge, in Shopify apps.
I am getting Fix API heath alert as shown in the attachment. How can I upgrade shop object? I am not using force_ssl anywhere in the code.
Hey @Camweara
In the latest release of Shopify's REST API Version 2021-07, we deprecated the force_ssl field
on the Shop Resource. You can read a little more about here. That field is now deprecated as all requests use HTTPS by default.
Even if not using the force_ssl
field in the requests made to the Shop endpoint, the force_ssl
warning shown in the API health dashboard would still be triggered if not using API version 2021-07
or
higher, this could be the reason why the force_ssl
warning would still be showing.
I can see that the last deprecated call that includedforce_ssl
was made 08:48 A.M UTC 17th Jan 2022.
To fix this this, we would recommend to specify an API version of 2021-07
or higher when the app calls the shop endpoint.
Additionally it's worth noting that after you remove any deprecated calls from an app, the app's status will continue to show up as "Fix....
Once time has past 30 days since last change, the warnings would not show in the API Health section. Hope that helps!