Ebonding User failed the current operation ended in state error user not authorized.failed api level

Gayan Udayakant
Tera Expert

We are getting the error the current operation ended in the state error user not authorized.failed api level acl validation as i have attached the image. This was worked in our prod but after we days we this error trigger in our flows .

 

We have created a new user who has admin and gave rest_service roles and authorizes tokens using this user.

we tested few scenarios and it worked ok and now this is trigger...

 

Any help

1 ACCEPTED SOLUTION

Gayan Udayakant
Tera Expert

i can avoid this error after i put delegated_developer role

View solution in original post

4 REPLIES 4

Harshal Aditya
Mega Sage
Mega Sage

Hi @Gayan Udayakant ,

 

Hope you are doing well.

 

It seems like ACL restriction.

Please check if your API user is having required permission to create/update the record. If not please provide specific roles/access to the user.

 

Please mark this response as correct or helpful if it assisted you with your question.

Regards,
Harshal

Gayan Udayakant
Tera Expert

I have put admin role and rest_service role to the user, but the issue still persist.

Harshal Aditya
Mega Sage
Mega Sage

Hi Gayan,

 

Could you check ACL which is restricting and also check if admin override is there or not

Gayan Udayakant
Tera Expert

i can avoid this error after i put delegated_developer role