Regarding activities not working in new update for API or connection related activities

Hello Everyone,

I am running an automation which uses an OCR reader to read captcha and type into an input field. The issue i am facing is when i run the automation from UiPath studio or run the automation process from UiPath assistant manually it runs perfectly but when the automation process is run on time trigger it is giving issue regarding invalid API key. Please help resolve the issue as it is affecting my critical daily activities.

Create a new machine template and connect your unattended robot to that machine.

Hey @shlok_rpa read that attached thread many user facing that kind of issue.

cheers

Hi @shlok_rpa
Step 1: Check Asset Scope in Orchestrator

  1. Go to Orchestrator > Assets.

  2. Locate your API key asset (e.g., OCR_API_Key).

  3. Confirm:

The asset is Text or Credential, not both.

The asset is available in the correct folder.

It is linked to the right user and machine that executes scheduled jobs.

:white_check_mark: Step 2: Check Process Execution User

In Orchestrator > Triggers, look at the process trigger details.

See which robot and user is assigned to run the job.

Confirm that user has the same access to assets and config.

Example issue: You (developer) run it manually under DOMAIN\YourUser, but the trigger runs it as DOMAIN\BotUser who may not have access to the same assets.

:white_check_mark: Step 3: Log Asset Value Before Use

In your workflow before calling the OCR activity, add:

Log Message: "OCR API Key: " + yourApiKeyVariable

If it logs blank or null during triggered runs, then it’s a clear access or missing asset issue.

:white_check_mark: Step 4 :Check OCR Engine Configuration

For Google OCR, ensure the robot has access to the API key file or environment variable (e.g., GOOGLE_APPLICATION_CREDENTIALS).

Hope this answers finds well!

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.