-
Notifications
You must be signed in to change notification settings - Fork 390
REST client GET request logs "API Deprecation Notice" warning #315
Comments
Hey @NathanScheele i also get this warning with my "orders" api call.
i do understand the notice on the page of the link provided
it is clear which resources are deprecations. I think this "Notice" can be neglected as long as you do not address one of these resources directly with your api call.
BR Timo |
Is there any way to hide it now? I am filling the logs of that warning. |
This issue is stale because it has been open for 90 days with no activity. It will be closed if no further action occurs in 14 days. |
We are closing this issue because it has been inactive for a few months. If you still encounter this issue with the latest stable version, please reopen using the issue template. You can also contribute directly by submitting a pull request– see the CONTRIBUTING.md file for guidelines Thank you! |
This is still happening to me. Is there a way to suppress the warning message? |
Still happening, it's a bit annoying with version 6.1.0 to see that in the response as it also generates a "Stack Trace: Error". I'm using Serverless by the way. |
sir how am i relist my shopify app, due to access token missing when shopify emailed me now i update all OAuth scopes but still my app delisted. |
still happening, when all I return are the |
I also, get this warning when trying to create an order with REST Admin API |
Is there a way to disable it for production? |
The API deprecation notice works this way:
If the program picks up a 'X-Shopify-API-Deprecated-Reason' header in the REST response, it will log a warning to the console accordingly. I come to realize that the information in this header is not always accurate... I simply comment out the following line in this file of the module: then patch the package: and enjoy peace |
I also get a warning when I apply for Ordes |
It would be really nice to have a setting exposed that allows for suppressing things in production. Our logs are filled with these while retrieving orders for fields we are not using. |
FWIW, can shush this in setting up
Can't speak to what else might be silenced as a result. |
Issue summary
I have a custom Shopify app, which makes calls to various REST API endpoints. Regardless of which API version I use, an API Deprecation Notice is logged to the console.
Expected behavior
According to Shopify's versioning documentation,
I would expect no warning to be logged when sending a GET request to the orders endpoint.
Actual behavior
The following warning is logged in the console:
Steps to reproduce the problem
Checklist
The text was updated successfully, but these errors were encountered: