Legacy Dev Forum Posts

 View Only

Sign Up

Data action put datatables code invalid.credentials

  • 1.  Data action put datatables code invalid.credentials

    Posted 06-05-2025 18:43

    Taras | 2021-07-21 16:36:12 UTC | #1

    Hi,

    I've done such steps

    1. New role with permission "architect:datatable:edit"
    2. New OAuth client credentials with role from previous step.
    3. Created GC Data Actions integration based on OAtuh from previous step.

    https://help.mypurecloud.com/articles/about-genesys-cloud-data-actions-integration/

    1. Created Data Action with integration from previous step.

    PUT request /api/v2/flows/datatables/{datatableId}/rows/{rowId}

    GC Data Action |attachment (1.3 KB)

    Error

    {
      "message": "There was an issue validating the credentials.",
      "code": "invalid.credentials",
      "status": 400,
      "entityName": "pureCloudOAuthClient",
      "messageParams": {},
      "contextId": "81e28b5b-0a70-4dbd-a39f-49a999388565",
      "details": [
        {
          "errorCode": "ACTION.AUTHENTICATION"
        }
      ],
      "errors": [
        {
          "message": "Request to backend service failed.  Response from web service: {\"error\":\"access_denied\"}\n [81e28b5b-0a70-4dbd-a39f-49a999388565]",
          "code": "INVALID_CREDENTIALS",
          "status": 400,
          "messageParams": {},
          "details": [],
          "errors": []
        }
      ]
    }

    Jason_Mathison | 2021-07-27 05:26:27 UTC | #2

    Hi Taras,

    Do you have IP Whitelisting configured in your organization? If so, I'm guessing you need to add the IP addresses that Data Actions use in your region to the whitelist.

    You can get those IP addresses from the developer tools -> api explorer -> Utilities -> "get public ip address ranges for PureCloud" -> There should be three ip addresses with a service name of "data-actions".

    --Jason


    Taras | 2021-07-27 05:27:37 UTC | #3

    Hi Jason,

    Thanks very much! IP Whitelisting helped. It works.

    Best regards, Taras


    system | 2021-08-27 05:27:39 UTC | #4

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


    This post was migrated from the old Developer Forum.

    ref: 11536