Deprecated api call endpoint returns not found

Deprecated api call endpoint returns not found

rplum
Shopify Partner
19 0 10

Hello,

 

I have implemented checking for deprecated calls for our private app as documented here:

 

https://shopify.dev/api/admin-rest/2022-04/resources/deprecated-api-calls#resource-object

 

This works great in that I can confirm we are good or see details of what needs to be changed.

 

However on newer installs I am getting a 'not found' response.  Not 404 but a json error with the data 'Not found'

{"errors":"Not found"}

 

normal response for no deprecated calls is this:

{"data_updated_at":"2022-06-01T11:59:59.000000Z","deprecated_api_calls":[]}

 

Why am I getting this not found response and what does it mean? 

That there never was a deprecated call by this app on this store ?

 

 

thanks

 

Roy

Replies 0 (0)