Slav_Hadjidimitrov | 2021-02-01 14:04:06 UTC | #1
Hi, one of our customer fails to install the premium app of ours with an error 403 not enough permissions.
The customer is at level GC2, how can we verify which permissions are required to use our app?
Here is the screenshot of oAuth client (from inspector).
And there is no list of permissions there.
Regards, Slav
Jerome.Saint-Marc | 2021-02-02 15:09:09 UTC | #2
Hello,
By failing to install the premium app, what do you mean?
The customer was not able to purchase and add the premium app from the AppFoundry site/marketplace. In this case, the user making the purchase needs Integrations permissions. See here.
Or that the customer was getting errors when running your Premium App Wizard script (to configure necessary information in his Genesys Cloud organization)? In this case, please list the API endpoints that your wizard is using during the install/configuration/setup phase and I'll take a look at it. I don't have ways to purchase an app in my sandbox and try it myself.
Regards,
Slav_Hadjidimitrov | 2021-02-02 15:39:12 UTC | #3
Hi Jerome,
Thanks for the pointer, actually after getting permissions configure, they were not in customer admin role, and run the installation from app foundry, before running our install script, customer got the following error when clicked 'activate' integration: "[ERROR] Your organization is not authorized for this integration type. {data: {…}, status: 403}data: code: "not.authorized"contextId: "b0f332ff-37a9-4185-a82f-bb31eb3dfd73"details: []errors: []message: "You are not authorized to perform the requested action."messageParams: {}status: 403proto: Objectstatus: 403proto: Object"
Thanks!
Jerome.Saint-Marc | 2021-02-03 08:39:05 UTC | #4
Hello,
Sorry - I misread your last message yesterday.
It seems like the integration type id of your premium app (I think premium-app-smartvideo) was not added to their org or something preventing from using it. I must say I don't know if it has to do with GC2 or if something went wrong during the purchase process (I mean when requesting it from AppFoundry site). It could be interesting to check the list of integration types in their org and verify if the "premium-app-smartvideo" is there.
Unfortunately, we can't investigate customer org/data from this forum. So I would suggest they open a case with Genesys Care. Care should be able to see what's preventing the enablement/activation of the premium app, or explain why this is failing (in case it has to do with GC2) and also check the request (provided region/orgId and contextId).
Regards,
Zachary_Hinkle | 2021-02-03 15:50:32 UTC | #5
Slav - Does your OAuth Client have the Routing scope?
Slav_Hadjidimitrov | 2021-02-03 17:10:20 UTC | #6
Hi Zach, There is no routing in my oAuth Client scope.
system | 2021-03-06 17:10:20 UTC | #7
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: 9858