Welcome to the Alteryx Knowledge Base

Error Messages for Cloud APIs
user

Created/Edited - 1/9/2026 by Leandra Naranjo | Alteryx

How To

Overview

This article helps you troubleshoot common error messages that occur when using the Alteryx Analytics Cloud (AAC) APIs. Each error entry includes the returned code or message, its cause, and a recommended resolution.

How-To Details

When working with the AAC APIs or the API Explorer, users may encounter authentication or permissions-related errors. This guide explains what each error means and how to resolve it quickly.

  • Recognize and interpret common AAC API error codes.
  • Identify their underlying cause (authentication, routing, or permission).
  • Apply corrective actions to restore successful API access.

Environment Details

Applies to: Alteryx Analytics Cloud (AAC), all supported cloud regions and tenants, and AAC API Explorer.

Prerequisites

  • Active AAC account with API access
  • Valid API Project ID and API token
  • Familiarity with making API requests using tools like Postman, curl, or API Explorer

Procedure

Error Code and MessageRecommended Solution
{
  "fault": {
    "faultstring": "Invalid ApiKey",
    "detail": { "errorcode": "oauth.v2.InvalidApiKey" }
  }
}

x-api-project-id header is incorrect or missing. Ensure it includes a valid API Project ID for a project created in the Developer Console.

Unauthorized

Authorization: Bearer {token} header is missing, incorrect, or token is invalid.

{
  "exception": {
    "name": "RouteNotFoundException",
    "message": "This route does not exist",
    "details": "Cannot GET /iam/v1/workspaces/current"
  }
}

Check that requests are sent to api.us1.alteryxcloud.com instead of us1.alteryxcloud.com.

{
  "data": null,
  "msg": "User '51' does not have create privilege on workflow"
}

You do not have platform permissions to call this API. Contact your admin for necessary privileges.

{
  "fault": {
    "faultstring": "Failed to resolve API Key variable request.header.x-api-project-id",
    "detail": { "errorcode": "steps.oauth.v2.FailedToResolveAPIKey" }
  }
}

Include a valid API Project ID from the Alteryx IO Developer Console (Library) in the header.

<html><head><title>400 Bad Request</title></head><body><h1>Error: Bad Request</h1><h2>Your client has issued a malformed or illegal request.</h2></body></html>

Remove the request body from GET requests; GET calls should not include a body.

API Explorer – Unsupported Workspace

 

The workspace used is not compatible with API Explorer, possibly due to SSO restrictions. Try another workspace or call the API through Postman or another client.

403 OK Error in the API Explorer

 

You are attempting to call an API you do not have access to. This may occur when calling an Admin-only endpoint without admin privileges.

Additional Information

Internal Notes

Error samples captured from AAC API Explorer in QA environment. Screenshots correspond to 403/401 errors. Root causes validated by Cloud Platform Engineering and Support teams.

Environment
Alteryx Analytics Cloud (AAC); all supported regions and tenants; AAC API Explorer.
Prerequisites
Active AAC account with API access; valid API Project ID and API token; familiarity with Postman, curl, or API Explorer.
Procedure
Common AAC API error codes and solutions, including 401, 403, 404, and 400 responses; troubleshooting guidance for API Explorer errors.
Additional Information
Was this article helpful?