Created new app, can't authenticate

We created a new app in the dashboard, we have a Client ID and a Secret ID. We installed that app to the store. The App shows under “Current Installs” our store. If we go to the admin/backend of our Store, under Apps, our App is there.

When I POST the Client ID, Client Secret, and Grant Type “client_credentials” to https://[store].myshopify.com/admin/oauth/access_token

we get:
400 - Oauth error application_cannot_be_found
Oops, something went wrong
Oauth error application_cannot_be_found: Could not find Shopify API application with api_key

If I try to go straight to:
https://[store].myshopify.com/admin/api/2026-01/graphql.json and POST “query { shop { name } }” with x-shopify-access-token = our secret key (the prior way we’re migrating from) I get:

[API] Invalid API key or access token (unrecognized login or wrong password)

What am I missing??

Hi @james_nalpac

This sounds like it could be related to the new process for managing access tokens for custom apps, see:

Yes that article is exactly what we’re trying to do. We have the Client ID, Secret ID, the app is created, the app is “installed”:

But when we POST the id,secret,and grant_type to /admin/oauth/access_token we get:
400 - Oauth error application_cannot_be_found
Oauth error application_cannot_be_found: Could not find Shopify API application with api_key

So I’m still missing a step somewhere.

@james_nalpac Are you the store owner for the store you’re trying to install the app on, and is the app created using the boilerplate template?

If not, you may need to use this approach: Implement authorization code grant manually

For the Client Credential Grant method, you’ll need to be the store owner:

Client credentials is only available for apps developed by your own organization and installed in stores that you own.

I accepted the invite to the store, I created the app while logged into the store, I installed the app while logged into the store. I’m not sure if that satisfies “apps developed by your own organization and installed in stores that you own.”

I don’t know if “offline” is the right term for our app, it has no website or UI for anyone to go to, it just runs on our server and syncs orders and qtys from our system to the store. Its just a c# desktop app making API calls. We have several stores working with us the legacy way but now can’t add any new ones.

I know we need to use the access_token rather than the secret now, but none of the ways to get a token either work or seem like they apply to this situation. I could very easily be wrong there, I don’t know.

Hey @james_nalpac

Accepting an invite to a store makes you a collaborator, not the store owner, so the Client Credential Grant method is not the right approach here.

Have you tried this approach:

Yes but I can’t make sense of that in our scenario because there’s no “starting the application” for the Shopify User - So there’s no URL they go to for the app to accept the GET / hmac in step #1.

Our “App” is no different than if I just opened Postman and tried to run:

POST https://[storename].myshopify.com/admin/api/2026-01/graphql.json
GraphQL Query: “query { shop { name } }”

There’s no URL, no interface on Shopify, its fully external and just makes API calls.

We’re trying this next: I’ve deleted and uninstalled the app, the store owner will now create and install the app, give us the keys, and then I’ll see if I can now get an access token…

Actually, none of the above was correct. I was putting the client ID and client secret in the headers (like an idiot) instead of as parameters. I fixed that and it immediately worked and I got my token (despite not being the store owner… )