Unable to run an agent

Hi,

I have built an agent in UiPath agent builder. It was working without any issue while debugging, but when the same agent and its tools are published as a solution, the agent fails with the below error.

"Serverless.Api.CreditsExceeded - Not enough Platform Units to run the automation. Please contact your administrator. "

I could see enough platform units available with my current tenant.

Please help me on what could be the problem.

Thank you.

Regards,
Vikranth.

Hey @vikranthka,

Can you confirm if you are using community or enterprise trial version of UiPath. Because both of these doesn’t allow to orchestration or deployment of the agent/agentic solution.

For that you’ll need enterprise version. Also, agent requires Agent Units (this is different than AI Units/Platform units)

Hope it helps

Serverless.Api. CreditsExceeded - Not enough Platform Units

In UiPath Automation Cloud, this means:

Your Agent (serverless execution) cannot find usable Platform Units at runtime
-even if you see units in the tenant.

During debug:

Runs locally / limited cloud usage

works

After publish (solution):

Runs as serverless automation / agent execution

Requires Platform Units (PU) failing

Platform Units are required for serverless/agent execution, while Al Units are used for Al/ML services. Misallocation causes runtime failures."

That is not accurate.
Agents require Platform units OR Agent units depending on the plan.

If its a legacy customer on the Flex plan, then yes, they need Agent units.
If they are on Unified pricing and have access to Platform Units then agents use Platform units and agent units don’t exist.