AWS EventBridge - API destinations, Deauthorized connection issue

Trying to set a connection to Genesys cloud using the API destinations in EventBridge,
keep getting deauthorized status ("The partner request is missing a required parameter or a parameter is invalid").
I'm using the OAuth Client Credentials, setting the following:
Authorization endpoint - https://login.euw2.pure.cloud/oauth/token
HTTP method - POST
Client ID & Client Secret - using the integration values

Regarding the header, there are defaults as you can see here - API destinations - Amazon EventBridge.

What are you trying to accomplish? Configuring the Genesys side of the integration doesn't require configuring API authorization AFAIK. The EventBridge integration docs can be found here: About the Amazon EventBridge integration - Genesys Cloud Resource Center

Hey Tim, I want to call a Genesys Platform API using the API destinations if a specific event occurred (getting it from the events). No issue with getting the event.

I suppose you might be able to do that, but the setup and configuration of general AWS services is outside the scope of this forum. I'd suggest opening a ticket with AWS or posting on an AWS forum for help configuring their service. If you have specific questions about the Genesys Cloud OAuth flow, those can be asked here. https://developer.genesys.cloud/authorization/platform-auth/use-client-credentials

Hello,

Not that I have tried API Destinations in AWS EventBridge, but reading this blog and Get Access Token, I would try adding the following OAuth Http Body parameter (EventBridge side - defining the connection):
Add an OAuth Body parameter. Key = grant_type and Value = client_credentials
I can't say if it will be enough, but if you were not sending this already, it is necessary to add it.

Regards,

It solved it! Thank you Jerome!! :slight_smile:

Appreciate the help Tim!

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.