Hello Daniel,
According to the error returned :
[architect:datatable:view]\",\"code\":\"missing.permissions\",\"status\":403
This permission belongs to the
Master Admin Role. So, in order to fix this issue, you would need to assign the Master Admin Role to your
OAuth Client you have created for Genesys Cloud Data Action Integration.
To do so :
- Click
Admin- Under
Integrations, click
OAuth-
Select your OAuth client- Click the
Roles tab
- Assign
Master Admin- Click
SaveNote :To grant roles to an OAuth client, you must have those roles assigned to your profile.
I hope it helps !
Kind Regards,
CHARAF
------------------------------
Charaf Eddine Chemlal
NTT France
------------------------------
Original Message:
Sent: 07-23-2021 14:54
From: Daniel Kirshy
Subject: Data Action Permissions
Was hoping someone may be able to help here, as this is all new to me. I am creating a data action which will be used to read items in a Genesys Cloud Data Table. So I created the data table with the appropriate fields needed, set up a data action with the URL Template:
/api/v2/flows/datatables/${input.DataTableID}/rows
and my key to be the callback number. When I try to Test it, I get the following error:
8. Execute: You are not authorized to perform the requested action. - REST call for action execute failed. Message:Request to backend service failed. Response from web service: {"message":"Unable to perform the requested action. You are missing the following permission(s): [architect:datatable:view]","code":"missing.permissions","status":403} [8e7863f3-f6d1-43b9-adc5-56430e557ba3]
Seems straightforward to be an authorization issue, but where is that authorization? As the logged in user, I have the appropriate permissions. I am using the Authentication Type on the Data Action to Genesys Cloud OAuth Client. Is this something that needs to be added there? I don't want to mess up any permissions just because I don't fully understand something. Any insight would be appreciated.
Thank you.
#ArchitectureandDesign
------------------------------
Daniel K
------------------------------