INVALID_MINI error when verifying user token via Shop Mini Admin GraphQL API

I’m encountering an INVALID_MINI error when trying to verify a user token using the Shop Mini Admin GraphQL API.

What I’m doing:

  • Sending the user token from the frontend as a Bearer token to my backend

  • Making a userTokenVerify mutation request to https://server.shop.app/minis/admin-api/alpha/graphql.json

  • The user token is confirmed to be identical on both frontend and backend

The problem: The GraphQL request returns:

json

{
  "code": "INVALID_MINI",
  "field": [],
  "message": "Invalid Mini"
}

What’s working:

  • I can successfully call other GraphQL APIs (like enabling Mini) with the same API credentials

  • This confirms my API token is valid and working for other operations

Question: Has anyone experienced this with userTokenVerify? Are there specific requirements or scopes needed for this mutation that differ from other Shop Mini API operations?

I guess this is a duplicate of INVALID_MINI error when verifying user token via Shop Mini Admin GraphQL API

Yes @steve-t-shopify this is a duplicate topic. It’s resolved.

1 Like