I am trying to update the theme.liquid file using the Shopify REST Admin API for theme assets, and I have accepted the write_theme scope. My goal is to add a meta tag inside the value field. However, I keep getting the following error:
I’m using the create or update theme asset endpoint, but it returns a “Not Found” error when trying to save the asset.
Here are some details:
- I am updating the theme.liquid file.
- I have verified that the theme exists and the write_theme scope is enabled in my app.
- I have ensured that I am targeting the correct theme by specifying the theme_id in the request.
My API Call :

