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
Is there a status update here? This is an issue for all delete requests. Any resource you try to call shopify.rest.RESOURCE.delete(...) it will throw an error because of an "invalid-json" parse
Hey folks, thanks for your patience. We re-evaluated this issue, and it seems that it happens enough that we should handle this scenario in the library. We'll look into it while the issue isn't addressed in the API itself.
Issue summary
Delete application recurring charge is not working for the node lib
Before opening this issue, I have:
@shopify/shopify-api
version: @shopify/shopify-api@9.3.0{ logger: { level: LogSeverity.Debug } }
when callingshopifyApi()
, if applicableGetting:
While using the https://shopify.dev/docs/api/admin-rest/2024-01/resources/recurringapplicationcharge#delete-recurring-application-charges-recurring-application-charge-id endpoint
like showed in the node example:
It's used via shopify-app-express with version 4.1
Expected behavior
HAve no error
What do you think should happen?
cancel and return
Actual behavior
gets a parsing error due to empty json returned
What actually happens?
returns an error
Steps to reproduce the problem
Debug logs
The text was updated successfully, but these errors were encountered: