Missing scope: resource.homey after successful OAuth flow - scope not selectable

Hi,

I’m setting up a Web API client and after successfully completing the OAuth flow, I’m getting the following error from the API:

{“error”:“Missing scope: resource.homey.xxxxxxxxxxx”,“error_description”:“Missing scope: resource.homey.xxxxxxxxxxx”,“stack”:“Error: Missing scope: resource.homey.xxxxxxxxxxx\n at ManagerUsersLocal.login (file:///app/packages/homey-core/lib/ManagerUsers.mjs:”}

It looks like the resource.homey scope is required, but it doesn’t appear to be selectable anywhere in the OAuth configuration at https://tools.developer.homey.app/api/clients

What’s the correct way to request this ‘resource’ scope?

Thanks,
Jeroen

What resource are you requesting from Homey? Not all features are exposed via the Web API