Skip to content

Amazon Q Bussines - Zendesk Connector

0

Enter image description here Enter image description here Enter image description here

I'm experiencing an issue with the Zendesk connector for Amazon Q Business. I've set up the Zendesk OAuth client as per the documentation and attempted with two different accounts. I created a Zendesk data source in the AWS Console, closely following the documentation (https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/zendesk-connector.html). ACLs are enabled, and I've configured a managed secret with the following parameters:

{
    "clientId": "...",
    "clientSecret": "...",
    "userName": "...",
    "password": "...",
    "hostUrl": "https://{domain}.zendesk.com"
}

The setup also includes a managed VPC (non-VPC), IAM role, and other settings according to the default configuration.

Although I successfully added the data source, syncing it fails after 15-20 minutes with the following errors, all with the same timestamp:

Info - Reset and initialization of connector in identity crawler.
Error - An exception has occurred during configuration validation.
Error - Server returned HTTP response code: 400 for URL: https://{domain}.zendesk.com/oauth/tokens.

I double-checked the credentials, created another application, and tested different data sources, but I encountered the same errors.

When I try sending the following curl command:

curl -X POST https://{domain}.zendesk.com/oauth/tokens \
       -u "{client_id}:{client_secret}" \
       -d "grant_type=client_credentials"

I receive this error in response:


{
    "error": "unauthorized_client",
    "error_description": "The authenticated client is not authorized to use the access grant type provided."
}

This refined message organizes your findings and errors clearly, which should help with troubleshooting. Let me know if you'd like further help with this issue.

asked a year ago319 views
2 Answers
0

It appears that you're encountering an authentication issue with your Zendesk connector for Amazon Q Business. The error messages suggest that there might be a problem with the OAuth configuration or permissions. Here are some steps to troubleshoot:

  1. Verify OAuth Client Configuration: Ensure that the OAuth client in Zendesk is correctly set up. Double-check that you've selected the correct grant type. For the Zendesk connector, you should be using the "Resource Owner Password Flow" rather than the "Client Credentials" grant type.

  2. Check Zendesk API Permissions: Make sure the Zendesk user account you're using has the necessary API access and permissions. The account should have admin-level access or at least the required scopes to perform the operations needed by Amazon Q.

  3. Validate Credentials: Double-check all the credentials in your AWS Secrets Manager secret, including the clientId, clientSecret, userName, password, and hostUrl. Ensure there are no typos or extra spaces.

  4. Zendesk Account Settings: Verify that your Zendesk account settings allow for API access and that there are no restrictions preventing external integrations.

  5. Token URL: Make sure you're using the correct token URL. For Zendesk, it should be "https://{domain}.zendesk.com/oauth/tokens".

  6. VPC Configuration: Although you mentioned using a non-VPC setup, ensure that the network configuration allows outbound connections to Zendesk's servers.

  7. IAM Role Permissions: Confirm that the IAM role associated with the connector has the necessary permissions to access the Secrets Manager secret and any other required AWS resources.

If you've verified all these points and are still experiencing issues, you may need to contact Zendesk support to ensure there are no account-specific restrictions or issues on their end. Additionally, reaching out to AWS support could provide more insight into any potential configuration issues with Amazon Q Business that might be causing the connection failure.
Sources
Setting up Zendesk for connecting to Amazon Q Business - Amazon Q Business
Connecting Zendesk to Amazon Q Business - Amazon Q Business
Troubleshooting your Zendesk connector - Amazon Q Business
Configuring a Zendesk plugin for Amazon Q Business - Amazon Q Business
Zendesk connector overview - Amazon Q Business

answered a year ago
0

Hello ,

I understand you are encountering an authentication issue with your Zendesk connector for Amazon Q Business

Here I am able to see that you tried various suggestions , however you are still encountering the same issue . Therefore in order to address/troubleshoot your issue further , we require details that are non-public information . Please open a support case with AWS using the following link:

https://console.aws.amazon.com/support/home#/case/create

AWS
SUPPORT ENGINEER
answered a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.