Hello everyone,
i got an issue with one of my automations.
"[Error code: 401] Computer Vision cannot be enabled: the current user is not authenticated.
To fix this, log in to Automation Cloud or copy the API key from https://cloud.uipath.com > Admin > Licenses > Robots & Services and paste it in Project Settings > Computer Vision > API Key.
When enabled, app screenshots while indicating are sent to UiPath Cloud to ensure automation resilience, so mock data should be used to avoid sending any sensitive information. Run-time screenshots are never collected."
i get a collection of invoices from one of our intern interfaces. then i extract and verify some additional information for each invoice in one of our applications with several CV activities.
automation runs unattended on a windows server daily (monday-friday) for 2 1/2 hours in the evening. usually it runs smooth and without any trouble. but about once a week it rises the code 401 exception at different time and at no specific day.
it can happen after 45 minutes of runtime, when 2 invoices were left or even after being in for just 5 minutes. quite random and no pattern i could recognize so far.
i already checked the API key, also generated a new one and replaced.
nothing helped so far. i also researched the forum for a possible solution, but there pretty much was nothing i could give a try.
i will expand every cv-activity by a retry scope in the next couple weeks. i hope this will solve the issue. only time will show.
all activities in project are updated
we are running an enterprise setup with 240mp/min, but exceeding would result in a 429 error code, which isn´t the case here.
any guesses or fixes?
thank you very much in advance ![]()