Error: Curator calls to certain Server workflow API endpoints returns 403 error code when workflow is in different Subscription
Environment Details
When a Curator makes an API call to certain Server workflow API endpoints, they receive a 403 error code.
image.png
- Alteryx Server
- Version 2022.3.1.486 (Patch 3)
- Server Curator role
- Server API Access Key and Secret
- The same error can be observed with the following Server API endpoints that target specific workflows or Analytic Apps:
- GET /v3/workflows/{workflowId}/questions
- POST /user/v2/workflows/{appId}/jobs
- GET /v1/workflows/{appId}/questions
- POST /v1/workflows/{appId}/jobs
Cause
Certain Server workflow API endpoints require that the user making the API call be in the same Studio/Subscription as the target workflow.
Resolution
Solution A - Move the Curator into the same Subscription as the target workflow
- Go to the Server Admin web page > Subscriptions
- Click on the target workflow's Subscription
- Click on the Users tab and add the Curator to the Subscription
image.png
Solution B - Use the API Access Key and Secret of a user that is already in the target workflow's Subscription
Additional Resources