Hi UiPath community,
We need to insert record from a third party into our Data Service and we were hoping to provide them with an Data Service API endpoint for them to use and send data. When trying to create an external App for this we noticed that Data Serive API resource had only user scope scopes. We found a workaround proposed by UiPath, create the an scopeless App, then go to manage access in our Data Service and grant “Write” access to that App, but doing this we can’t get an access token for the App.
We’re getting: {“error”: “You are not authenticated to access Data Service. Make sure your Assistant or Robot is connected to a modern folder in your account.”, “traceId”: “…”} when POSTing to UiPath.
- External App:
External_App
(in new modern folderDataServiceFolder
,OR.Execution
scope, this scope let us get an access_token but it seems insuficient for wrioting into Data Services). - Role: “Writer” and all permissions assigned in Data Service > Manage Access.
Token generated with client_credentials
, but error persists. Questions:
- Is
OR.Execution
insufficient for Data Service API access? - Does the app need a specific Data Service API Application scope (none available in our tenant, only user scope)?
- Any tenant config or API version issue blocking this?
- Confirm correct endpoint: /api/EntityService/{entity}/insert?
Thanks,
Sebastian Crohare