404 Error on POST calls for Private App

For a specific newly created custom app, the GET calls all work just fine, but the POST calls receive a 404 Not Found response.

  • For example, with the Admin REST API, the call https://*****.myshopify.com/admin/api/2024-10/fulfillments.json used for a different shop returns a 404 in the new store, but the older stores work just fine.
  • Even the basic GraphQL call https://*****.myshopify.com/admin/api/2024-10/graphql.json to query products returns a 404, but it works on other stores just fine.

I have tried multiple versions from 2023-01 to 2025-01. Only the Admin REST API GET calls work.

  • Authentication is done with X-Shopify-Access-Token
  • Current access scopes are: write_fulfillments, read_fulfillments, write_inventory, read_inventory, write_merchant_managed_fulfillment_orders, read_merchant_managed_fulfillment_orders, read_orders, write_orders, write_order_edits, read_order_edits, read_products, write_returns, read_returns, write_shipping, read_shipping, write_third_party_fulfillment_orders, read_third_party_fulfillment_orders, write_assigned_fulfillment_orders, read_assigned_fulfillment_orders, read_all_orders

Is there a step in the custom app setup we missed? I was wondering if the sunsetting Admin REST APIs could be an issue, but the GraphQL calls don’t work either.

Just to confirm, is this a private app (created from the Shopify admin) or a custom app (created from the Shopify CLI/partner admin)?

Thank you for asking, it is a private app (created from the Shopify admin).

Figured it out! The Shopify URL given to me was an alias and not the core store URL. So:

Now I know for next time! Hope this helps out someone in the future.

Cheers!

1 Like

Glad you figured this out George!!

1 Like