cancel
Showing results for 
Search instead for 
Did you mean: 

API permission

Pradeep_IDC
Level 4

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?



------------------------------
Pradeep IDC
------------------------------
5 REPLIES 5

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






13363.png



------------------------------
-----------------------
If I answered your query. Please mark it as the "Best Answer"

Harish Mogulluri
Lead developer
America/New_York TX
------------------------------
-----------------------
If I answered your query. Please mark it as the Best Answer

Harish Mogulluri

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."}}



------------------------------
Pradeep IDC
------------------------------

Did you get chance to try to test the API in Post Man?
Looks like you don't have access to call the API



------------------------------
-----------------------
If I answered your query. Please mark it as the "Best Answer"

Harish Mogulluri
Lead developer
America/New_York TX
------------------------------
-----------------------
If I answered your query. Please mark it as the Best Answer

Harish Mogulluri

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,



------------------------------
Leonardo Soares
RPA Developer Tech Leader
Bridge Consulting
América/Brazil
------------------------------
Leonardo Soares RPA Developer América/Brazil

Walter.Koller
Level 11

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:

13373.png

(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.



------------------------------
Walter Koller
Solution Manager
Erste Digital / Erste Group Bank
Europe/Vienna
------------------------------