Hoping you can help with a strange one.
Was sending a POST request to /api/v2/flows/datatables/{DataTableID}/rows to create a new record in an already existing data table.
If I do this with the API Explorer it works great, as soon as I do it with a data action test I get a permissions error.
In both instances, I am attempting to do the same thing, one is successful the other fails with 403.
It insists that I need the DataTable > Add permission, which I have for the division I am trying to add to the data table for (further evidenced by the API Explorer working well).
Has anyone ran into this or does anyone have some insight?
API Explorer uses your user credentials to send a request to Genesys Cloud. I mean that it is leveraging your Genesys Cloud user account (the one you use to log in API Explorer).
The Genesys Cloud Data Actions leverage the OAuth Client (Client Credentials Grant) that you have created and associated with the Genesys Cloud Data Actions integration. The one from "Create an OAuth Client" in this page.
The permission on Data Table must be added to this OAuth Client (via a Role).
It is likely missing in your OAuth Client. And that's why you see a difference between API Explorer (your account/user has the permission) and Data Action (the permission is not assigned to the OAuth Client used by the Genesys Cloud Data Actions integration).