cancel
Showing results for 
Search instead for 
Did you mean: 

SAP Build Apps - Visual cloud function - throw error "Request failed with status code 401"

08-01-2023 3:28 PM
ranjith_kumar89 Participant
2309 views 3 comments Go to solution
0 Likes
SAP Managed Tags
Subscribe

Hi,

I'm trying to create new app using SAP Build Apps, where I'll create new supplier record using front-end app and the data will be stored using backend(visual cloud function). I create an entity in backend and deployed successfully. It is also visible in Data integration in frontend-app. But it throw error when I tried to create record. The error is "Request failed with status code 401". It throw same error when I tried to create new record in Data integration also. I've attach the screenshots for reference.

app-dataintegrationerror.png

app-frontenderrorwhencreate.png

apps-backendentityerror.png

0 Likes

Accepted Solutions (1)

Accepted Solutions (1)

ranjith_kumar89
Participant

Hi,

Permissions were missing for the user and it worked after assigned properly.

erickgomez-tech
Active Participant
0 Likes
I am having the same problem, I am using the Partner Services Plan, I was missing adding 2 permissions as indicated in the guide, the problem persists, with two different users.

Answers (1)

Answers (1)

RemiKaimal
Active Contributor
0 Likes

401 error is due to an authorization failure.
This can be because of a user lock