shenxin
November 21

So the API related question is: API return says authentication is disabled. Is it really disabled or not?

I am trying to integrate Genesys Chat. I do not have Care Support access.


Visit Topic to respond.


Previous Replies

John_Carnell Genesys Employee
November 21

Hi Xu,

You will need to open a ticket with our Care support team. The Developer forum answers questions related to our Developer APIs and Developer Tools. For individual customer errors (like the one you have above) we can not look at your records or logs. Only our Care team can do this.

Thanks,
John Carnell
Director, Developer Engagement

tim.smith Team Lead, Lead Developer Evangelist
November 21

Hi, we do not have access to your org's data via the forum. Please open a case with Genesys Cloud Care to investigate your org's configuration if you believe the API is returning incorrect data.

shenxin
November 21

Hi,
my deployment Id is

026894c0-901b-4355-9f80-a6cc1ecd70bf

I believe it is enabled in Genesys dashboard, but when I made the following request:

curl -X POST -H "Content-Type: application/json" \
  -d '{
    "deploymentId": "026894c0-901b-4355-9f80-a6cc1ecd70bf",
    "journeyContext": {
      "customer": {
        "id": "a47a1770-1152-11ef-a9bb-5950e7bbf767",
        "idType": "cookie"
      },
      "customerSession": {
        "id": "a47a1770-1152-11ef-a9bb-5950e7bbf767",
        "type": "web"
      }
    },
    "oauth": {
      "code": "380d0b17-3adc-4037-b3fd-1550ba0a38d3",
      "redirectUri": "https://app.spotnana.com/"
    }
  }' \
  https://api.mypurecloud.de/api/v2/webdeployments/token/oauthcodegrantjwtexchange

I received the following response:

{"message":"DeploymentId 026894c0-901b-4355-9f80-a6cc1ecd70bf has authentication disabled","code":"unauthorized","status":401,"contextId":"c39c56fc-dd6c-4704-8446-9a0b806a027c","details":[],"errors":[]}

The API told me auth is disabled, but I believe it is enabled. Can you help me take a look at this deployment ID (026894c0-901b-4355-9f80-a6cc1ecd70bf) from your system and confirm if authentication is enabled or disabled? Then I will go back and debug accordingly. Thanks!


Visit Topic to respond.

You are receiving this because you enabled mailing list mode.

To unsubscribe from these emails, click here.