Focuses on API authentication, access scopes, and permission management.
Hi there!
I'm new to developing a Shopify page builder app, My first app needed to inject liquid files into the Sections folder, so I referred to the following example but got a 404 error (I requested write_themes). I read the docs https://shopify.dev/docs/apps/online-store/other-integration-methods/asset said that I might be eligible for an exemption, and submit an exception request here, currently, my app is not finished, can I submit an exception request now order to be able to test inject feature? Or I can only submit the request after the App is finished?
Thanks!
Error: Received an error response (404 Not Found) from Shopify: "Not Found" If you report this error, please include this id: 5ead1fd1-916d-4ec4-a178-07744766b64a
const asset = new shopify.rest.Asset({session: session}); asset.theme_id = 828155753; asset.key = "assets/bg-body.gif"; asset.src="http://example.com/new_bg.gif"; await asset.save({ update: true, });
Hey @FocuxPlus
It should be fine to submit a request now since you'll need access to complete the app 🙂
Scott | Developer Advocate @ Shopify
Thanks for your kind reply! I tried, but I need to complete the app submission form and wait for the review, after getting approval, then I can get the Shopify App Store URL, but I am confused that I haven't completed this app yet. So, can I still submit it at this stage?
Thanks in advance!
Also, I read the docs for injecting the liquid into the theme, it mentioned:
As an alternative, you can use theme app extensions, or instruct merchants how to add code to their theme using the following tools
Does it mean that I can create a theme app extension in my app to inject the liquid files without submit an exception request?
Yep! The difference here is you'll need to give merchants instructions on how to add the block to their theme.
Scott | Developer Advocate @ Shopify