Action Center - Authentication Error

Hi,

I am getting below error in Swagger when checked for Action center access, thus unable to retrive the form data.

Looks like something I am missing here " Robot executing the “Get Form Task” action has the necessary permissions to access and retrieve tasks from the Action Center."

Could someone help on this please.

Thanks.

Have you clicked on the “Authorize” button on the top right of the Swagger page? It allows you to log in and authorize api calls.

Yes. It was already authorized. Looks like some issue with the bot accessing Folders in action center. How can I sort this out?

image

Logout and back in first to see if that helps.

Awesome… I can see now, its accessing the action center folder.

But, it is still retrieving zero records only using get form tasks in my flow. How can this be sorted out, please?

@krishbcd

To resolve the error in Swagger when checking Action Center access, ensure the robot executing the “Get Form Task” action has the necessary permissions to access and retrieve tasks from the Action Center. This typically involves checking the robot’s roles and permissions in the Orchestrator to ensure it has the required privileges to interact with Action Center tasks.

cheers…!

Verify that you are using the correct Orchestrator Folder Path and Task Catalog Name as input.

Yes. right Catalog Name, but left the orchestrator path empty as it will check all the folders for the task details from the given matching catalog. still retrieving zero."

image

Same result with the url using from swagger.

If folder is empty it will use the folder where robot is deployed.

Folder has the catalog name and it has few task items

Mention the name of that folder in the activity and see if it makes a difference.

Still same. Do we need to give any folder permissions in Orchestrator?

Below is the message:

It should give an error in case of insufficient permissions.

Are there any tasks created in the catalogs that are displayed in the screenshot?

Yes. Also, under the message details, its showing the right folder ID under OrganizationUnitId

image
image

image

I see you are using “GetTasksAcrossFoldersForAdmin”. Do you get the same result with “GetTasksAcrossFolders” (without “Admin”)?

How do I do this? I mean how can I swap from “GetTasksAcrossFoldersForAdmin”. to
“GetTasksAcrossFolders”.

However, it is working for GetTaskdata by providing specific Task ID. Where am I missing?

Also when I verified in Swagger with Folder Id, saying no Actions

image

But when I verified with both Folder Id and Task ID, its giving the details.

image

It’s another api function:

1 Like

After logout and login to Swagger, it got the access to both GetTasksAcrossFolders & ```
GetTasksAcrossFoldersForAdmin.

Still retrieving zero records and trying to retrieve from GetTasksAcrossFoldersForAdmin. How can I sort this out, Please?

Retrieved 0 tasks from server. Complete url: UiPath eq %27Completed%27%29 and %28Type eq %27FormTask%27%29%29 and %28TaskCatalogName eq %27Certificate%2Bof%2BFailing%27%29&$top=100",
“level”: “Information”,
“logType”: “Default”,
“timeStamp”: “20:46:32”,
“fileName”: “ActionCenter - GetFomTask”,
“processVersion”: “1.0.0”,
“jobId”: “6ccd556b-0a5c-4c9b-977f-313c0e0ac11e”,
“robotName”: “”,
“machineId”: 3511087,
“organizationUnitId”: 4894605
}

Thanks.