upload a file in theme's sections folder

Topic summary

A developer is encountering a 404 Not Found error when attempting to upload a file to a Shopify theme’s sections folder via the Admin API.

Error Details:

  • The PUT request to https://fact-maze.myshopify.com/admin/api/2023-10/themes/130062090302/assets.json is failing
  • Response indicates the endpoint or resource cannot be found

Possible Issues:

  • The API endpoint URL may be malformed (note the space in “2023-10”)
  • The theme ID (130062090302) might be incorrect or the theme may not exist
  • API access permissions could be insufficient
  • The API version (2023-10) may be deprecated or unsupported

The discussion remains open with no resolution or responses yet. The developer needs guidance on proper API authentication, correct endpoint formatting, or alternative methods for programmatically adding files to theme sections.

Summarized with AI on November 1. AI used: claude-sonnet-4-5-20250929.
{
  "error": "Unable to create file",
  "message": "Client error: `PUT https://fact-maze.myshopify.com/admin/api/2023-10/themes/130062090302/assets.json` resulted in a `404 Not Found` response:\n{\"errors\":\"Not Found\"}\n"
}