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
userTokenVerifymutation request tohttps://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?
