1

I created a new Autodesk APS app with Client ID: ap3k3LvbSEKgACbnlk4lt6LryCVckkKtfK5SbXRr7vQVdUJ4

The app is configured in the APS Developer Portal with Autodesk Construction Cloud API enabled, and it is registered as a Custom Integration in our ACC account: a8928c5c-c17d-4d61-a6bd-7e85e5becfe5

When I authorize with: https://developer.api.autodesk.com/authentication/v2/authorize?response_type=code&client_id=...&redirect_uri=http://127.0.0.1:53682/callback&scope=openid%20account:read%20issues:read

I get this error: {"error":"invalid_scope","error_description":"The requested scope is invalid, unknown, malformed, or exceeds the scope granted by the resource owner."}

After exchanging the code for tokens, the JWT payload only shows: scopes: ['openid', 'account:read']

And any Issues API call fails with: { "developerMessage":"Token does not have the privilege for this request.", "errorCode": "AUTH-010" }

Is there another step required to enable issues:read (and offline_access) for new apps, or is this something Autodesk support needs to grant?

When requesting issues:read (and optionally offline_access for refresh tokens), I expected the returned token to include those scopes so I could successfully call the ACC Issues API.

Is there another step required to enable issues:read and offline_access for new APS apps, or is this something Autodesk support needs to grant manually?

2
  • Please clarify your specific problem or provide additional details to highlight exactly what you need. As it's currently written, it's hard to tell exactly what you're asking. Commented Sep 3 at 15:03
  • May you refer to the valid documented Oauth Scopes to call APS APIs: aps.autodesk.com/en/docs/oauth/v2/developers_guide/scopes. issues:read is not a valid scope. To call Issues API you require Scope: data:read for GET and data:write for POST/PATCH APIs Commented Sep 5 at 11:36

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.