Error 404 when calling GET Provinces endpoint

Shopify Partner
19 0 13

I'm getting a 404 error when using the "" method from my app's API.


I want to obtain a list of provinces for a country:

  const provinces = await{
    session: res.locals.shopify.session,
    country_id: COUNTRY_ID,
The 'shopify' object is from the app boilerplate:


const shopify = shopifyApp({
  api: {
    apiVersion: LATEST_API_VERSION,
    billing: undefined, // or replace with billingConfig above to enable example billing
  auth: {
    path: "/api/auth",
    callbackPath: "/api/auth/callback",
  webhooks: {
    path: "/api/webhooks",
  // This should be replaced with your preferred storage strategy
  sessionStorage: new SQLiteSessionStorage(DB_PATH),


Reply 1 (1)

Shopify Staff
1363 228 476

Hi @joelurraco 👋


If the app is using Shopify API Node library, please submit an issue in the public github repo `Shopify/shopify-api-js` directly.

Developer Support @ Shopify
- Was this reply helpful? Click Like to let us know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit or the Shopify Web Design and Development Blog