We are working on an app and we want it to use the Storefront API. However, we get an error:
“App must be a channel or have unauthenticated scopes to create a storefront access token.”
We know that there has been a change recently and the application does not have to be a sales channel, which makes us very happy.
However, we are having trouble accessing the Storefront API. Error details:
- Our application has the following scopes:
- read_themes
- write_checkouts
- unauthenticated_write_checkouts
- We are trying to authorize according to the documentation → we get an error from the API: App must be a channel or have unauthenticated scopes to create a storefront access token.
Additionally, we are trying to get an access token using this API - and we also get the error:
App must be a channel or have unauthenticated scopes to create a storefront access token
I feel like we forgot something obvious.