SzabolcsGergye | 2023-05-09 12:37:40 UTC | #1
Hi,
I would like to setup an OAuth Client credentials with the corresponding permissions.
I'm using the following API endpoints from your API:
- GET /api/v2/flows
- GET /api/v2/flows/{flowId}/latestconfiguration
- GET /api/v2/languageunderstanding/domains/{domainId}/versions/{domainVersionId}
- POST /api/v2/languageunderstanding/domains/{domainId}/versions/{domainVersionId}/detect
- POST /api/v2/conversations/messages/inbound/open
I added these permissions to my Client Credentials:
I was not able to find this permission, which is needed for the languageunderstanding endpoints: dialog:botVersion:view This way I get a 403 on the languageunderstanding endpoints.
How can I add the missing permission? Could you please review if I have any other missing permissions?
Thanks in advance!
Jason_Mathison | 2023-05-09 14:09:19 UTC | #2
The most common gotcha is that the user that you are using has to have all of the permissions that you are attempting to assign to the client credential.
SzabolcsGergye | 2023-05-09 17:42:28 UTC | #3
@Jason_Mathison it's not the problem here. On the attached image you can see the role "BotiumClientCredentials", in which I try to collect all the premissions I need. This role is assigned to my user and also assigned to the client credentials.
Some endpoints are working. I guess the problem is that the dialog:botVersion:view permission is missing and I can't find it: As you can see I filtered for dialog and not permission appears in the list.
In addition I would like to ask you to review the endpoints I use and suggest me the correct permission list. Thank you!
Jason_Mathison | 2023-05-09 18:16:38 UTC | #4
I apologize, but I don't know know much of anything about these endpoints or permissions, I just know that that you can't assign a permission that you don't have.
Along with this thread, you may also want to open a support ticket to dig into why you don't see this permission and/or talk with your sales rep to make sure that your account has whatever is needed to use this functionality.
--Jason
system | 2023-06-09 18:17:12 UTC | #5
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: 19812