Adding Item to Orchestrator queue consuming Orchestrator API is not working when using google account

Hi All,
I am using google account for logging into cloud orchestrator.

As per Orchestrator API documentation ,For Adding Item to Queue using API We have to get Authentication token/access_token first by calling
URL: “https://account.uipath.com/oauth/token
Headers
Content-Type: application/json
X-UIPATH-TenantName: [Tenant Logical Name]
Reuest Body:
{
“grant_type”: “refresh_token”,
“client_id”: “[Client Id]”,
“refresh_token”: “[User Key]”
}
I am getting all the required value from Orchestrator account>> services>> API Access
I am successfully getting the accesstoken

But while Adding data to queue using this API https://platform.uipath.com/odata/Queues/UiPathODataSvc.AddQueueItem,It is throwing error as “not Autheticated”.

While the same process works for non google account.

Seems this is not working with google account.
Any help would be helpful.

Hi,

Please find below playlist in which you will find how to add queue item to uipath orchestrator.

And the reason you are getting error, you are not providing the correct url to while adding data to queue.

Check out my playlist to know what could be the url to call API to add data into queue.

I hope this will help you!! let me know your comments:)

Thanks
Priyanka