Hello Everyone,
I am working on a UiPath process app (coded app). I configured .env file correctly with organization name, tenant name, client id, redirect url etc.
I also have enabled Apps service, created external application with required resources and scopes.
Whenever I start the dev server (npm run dev) and open the localhost url, I am getting below error:
Kindly advise how I can resolve this.
@Rohit_More ,
I would double check below first:
- .env file make sure tenant name and other details are accurate
- In UiPath Automation Cloud, go to:
Admin → Tenants → select your tenant → Services
Confirm that Orchestrator is present and enabled/provisioned
3) Check whether your account has access to that tenant/service
Even if Apps is enabled, your user still needs access to the relevant tenant and Orchestrator service
4) Confirm the redirect URL
The redirect URL in the external application should match the dev server callback URL exactly, including protocol, port, and path.
5) Verify scopes are for the same tenant
Hi @Rohit_More
Please try below approach:
1 .env values are correct (Org, Tenant, Client ID, Redirect URL)
2 Redirect URL in External App exactly matches localhost URL
3 Authorization Code flow is enabled
4 Required scopes/resources are added
5 Apps service is enabled for tenant
6 Clear browser cache / try Incognito
7 Run again -
npm install
npm run dev
If Solution works for you please mark as solution or let me know if you still face issue
'Thanks
Nishi