10-30-2024 02:31 AM
When I used my wholesaler OAuth access token to retrieve the organization list, I received a 403 error. The error response is provided below. Could you please help us understand why this error occurred?
Response :
10-30-2024 04:12 AM
In the Community Forum, there are many community users answering your questions. We do not have access to any traces in the backend. If you want someone from dev support to have a look at the tracking id it's best to open a case via devsupport@webex.com.
The Webex API organization Endpoint (https://developer.webex.com/docs/api/v1/organizations) requires org admin previledges as well as it requires the corresponding scopes for your integration.
Please also note that hint at https://developer.webex.com/docs/api/guides/webex-for-wholesale#managing-your-customer-organizations for the Wholesale API
If you find any attempt to manage your customer via API set returns a 403 Forbidden response, it may be that your temporary access to the customer has expired. In such cases, call the GET Organizations Details API again to re-establish the desired access before proceeding with your management operation.
Note: You can expect a short delay (5 seconds) after the above request before management access to the customer organization is fully established.
10-31-2024 12:26 AM
Hello @roshani123,
Thanks for your patience so far!
I checked the error trackingId you shared - "ROUTERGW_65d9d5f1-9a70-4fab-8b89-90aba19a6224" and yes, it's failing with "403 - Forbidden" status.
As per the log, the reason is listed as you don't have "Full Admin" or, at least "Read-only Admin" role with your Webex Account.
Now, I'm not exactly sure the scenario you're trying here with this API request, are you trying to fetch the details of your Partner Orgs or, your own Org?
If you're trying to read your Partner Org details where you've access, then you should definitely have the "Partner Full Admin" role (or, say 'id_full_admin') with your Webex Account.
If you're trying to list your own Org details, then you should definitely have the "Full Admin" or, "Read-only Admin" role to your account.
But I'm afraid you don't have any of these roles with your current Webex account or, to the Token you're using for this API request.
Otherwise at least your own Org details would have shown in the Response.
If you think that's not this case and you already have these roles as I shared above, then I'd say better you share us the details to devsupport@webex.com and a Support case would be raised in our queue, where we can discuss this further in more detail.
We might need your Token that you're using for this API request, but sharing Token in such open public platofrm like Community forum would not be good.
So, if the provided details don't answer your queries, let's discuss through the Support case channel.
Regards!
Sandip
Please Note: If you think the solution provided above was helpful and satisfactory, please accept it as a Solution! However if you want to discuss it further and get yourself unblocked, please don't hesitate to reply back on this thread and we'll try to answer those queries by the soonest. In that case, once all of your queries are cleared - finally you can mark it as "Accepted as Solution"
10-30-2024 03:41 AM
Hello
Check this endpoint -> List organizations List all the organizations that are visible to your account
https://developer.webex.com/docs/api/v1/organizations/list-organizations
10-30-2024 03:58 AM
Thank you for your input. We also used this API to retrieve the organization, but we couldn't display the organization list with my access token. Please review my error tracking ID to identify the issue, and let us know so we can resolve it more easily.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide