View a markdown version of this page

Troubleshooting Identity Center authentication - Amazon Redshift
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Amazon Redshift will no longer support the use of Python UDFs after June 30, 2026. We will start enforcing it in phases. For more information on the details of Python end of life and migration options, see the blog post that was published on June 30, 2025.

Troubleshooting Identity Center authentication

Use the following sections to help troubleshoot problems that you have with Identity Center authentication.

API errors

The GetIdentityCenterAuthToken API can return the following errors:

  • UnsupportedOperationFault – The request was made without identity-enhanced credentials or Identity Center identity propagation is not supported in the current configuration.

  • ClusterNotFoundFault (redshift:GetIdentityCenterAuthToken) – One or more of the specified cluster identifiers do not exist or you do not have permission to access them.

  • WorkgroupNotFoundFault (redshift-serverless:GetIdentityCenterAuthToken) – One or more of the specified workgroup names do not exist or you do not have permission to access them.

  • InvalidParameterValueException – The request parameters are invalid, such as an empty list of clusters or workgroups, or more than 20 items in the list.

Connection errors

When connecting to Amazon Redshift using Identity Center tokens, you may encounter the following errors:

  • Token credentials expired or invalid – Generate a new token using the GetIdentityCenterAuthToken API and update your connection configuration.

  • invalid token – Verify the token format and ensure it was generated for the correct cluster or workgroup.

  • TYPE_INVALID_TOKEN – Ensure you're using token_type = SUBJECT_TOKEN in your connection parameters.

  • identity provider type "awsidc" is not supported – Verify your Amazon Redshift cluster or workgroup supports Identity Center authentication and update to a compatible version.

  • Amazon IdC identity provider does not exist – Configure Identity Center integration for your Amazon Redshift resource through the Amazon console.

  • Invalid scope. User's credentials are not authorized to connect to Amazon Redshift – Verify the user has appropriate permissions in Identity Center and the token was generated for the correct resources.

  • Connection failures with enhanced VPC routing – When enhanced VPC routing is turned on, Amazon Redshift reaches the Identity Center services through your VPC. Verify that your VPC has interface VPC endpoints for those services. Confirm that private DNS names are turned on for each endpoint. Confirm that the endpoint security groups allow inbound traffic on TCP port 443. For more information about enhanced VPC routing requirements for Identity Center, see Using Amazon IAM Identity Center authentication with enhanced VPC routing.