22-01-24 03:26 PM
While trying to run a web API facing this error.
Internal : Current user is not permitted to perform this action.
Please suggest how to enable an access on web API?
22-01-24 05:08 PM
Hi Pradeep,
I suggest to check the access for the role you are currently in
Navigate to system tab>use role> Under permission check whether
"Business Object - SOAP Web services"
"Business Object - Web API services" are selected.
If not selected, After you selecting the required access close the BP and open it
22-01-24 05:45 PM
After that now getting this
Internal : Unexpected error Error during Web API HTTP Request
HTTP Status Code: 403
HTTP Response Content: {"error":{"code":"ErrorAccessDenied","message":"Access is denied. Check credentials and try again."}}
22-01-24 06:06 PM
Did you get chance to try to test the API in Post Man?
Looks like you don't have access to call the API
23-01-24 06:48 PM
Hi Pradeep IDC,
Confirm with the supplier that the Authentication Key is correct, the error indicates that an error is occurring when trying to authenticate.
Regards,
24-01-24 09:40 AM
Hello,
here are the permissions that are needed to execute a process as web service. The screenshot shows the effective permissions of the user role we actively use:
(Permissions under the System Manager node are for administrative tasks only and not needed for robots).
The user calling the exposed process has to have permissions to do so on process level (Studio tab) and VBO level, and all depending processes/objects. So if there is a process using Utility File VBO, then the web service user has to have execution rights on both, the process and on the Utility File VBO. The Execute Process/Object as Web Service permissions in Studio (tab) should be sufficient.
Depending on BP version different domain/user combinations are accepted. In order to be on the safe side better use user principle names (UPN) in the format: user@domain.com.