Legacy Dev Forum Posts

 View Only

Sign Up

401 Unauthorized on oauthcodegrantjwtexchange for Authenticated Web Messaging

  • 1.  401 Unauthorized on oauthcodegrantjwtexchange for Authenticated Web Messaging

    Posted 06-05-2025 18:38

    yunyeeng | 2024-10-21 00:56:06 UTC | #1

    Hi there,

    We are receiving a 401 error on POST /api/v2/webdeployments/token/oauthcodegrantjwtexchange request.

    We're a bit stumped by the issue since it's working in the UAT environment, but not so for production. Can I please get some advice on how to resolve this?

    Thanks, YY


    vpirat | 2024-11-07 11:50:35 UTC | #2

    Hi,

    Still facing the issue ? It so let me know.

    Your best option is to test manually (using Https requests) the authentication mechanism. Then switch to the Genesys api if previous step is ok.

    Regards, V.P.


    vpirat | 2024-11-07 14:17:29 UTC | #3

    Based on the contextId provided earlier, I could see in logs that the token exchange is rejected by the authorization server with the following reason: invalid_grant Just to let you know.

    Regards, V.P.


    system | 2024-12-07 14:18:11 UTC | #4

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


    This post was migrated from the old Developer Forum.

    ref: 29939