Asset API for Development/QA Apps failing - Production app has exemption

Asset API for Development/QA Apps failing - Production app has exemption

gregdaynes
Shopify Partner
1 0 1

Hi @Liam + Community

We have a production app that has been given an exemption for the Asset API Put endpoint, and is working as expected.

However we're finding the Asset API Put is returning a 404 for our development and staging/qa apps, using any API version from 2023-01 -> 2024-01.

From the documentation, we should be able to use the API from apps not distributed through the app store. Do our dev/staging/qa apps need to be set as Custom apps in distribution? and if so, how do we test billing for these?

Replies 4 (4)

SBD_
Shopify Staff
1831 273 419

Hey @gregdaynes 

 

Can you please DM me app details and staging/QA app details.

Scott | Developer Advocate @ Shopify 

fredericbegin
Shopify Partner
2 0 1

Experiencing the same issue.

Yesterday morning I was able to do a PUT request to the Asset Api with my development app while targeting API 2023-01 without any issue, but since yesterday afternoon the endpoint returns a 404. 

Basically the same situation as Greg, our production app has the exemption and is working properly, but it seems we cannot use the Asset API in our development / QA apps anymore, even when we target 2023-01.

fredericbegin
Shopify Partner
2 0 1

It seems Shopify now responds with api version 2023-04 even when I target 2023-01.

With the request '/admin/api/2023-01/themes/{theme_id}/assets.json' the header 'x-shopify-api-version' in the response is '2023-04'

From my understanding, we should be able to use 2023-01 until April 1st, is it still the case?

 

SBD_
Shopify Staff
1831 273 419

Hey @fredericbegin 

 

Weird that it was working up until then - it should've switched 1st of Jan. Can you please DM me your app details?

Scott | Developer Advocate @ Shopify