You need to sign in to do that
Don't have an account?
@RestResource Apex Class access issue
I have created a @RestResource, but the developer I am working with who is making the GET call from an external system is having an issue accessing. What am I missing? Thank you in advance for any help.
[
{
"errorCode": "FORBIDDEN",
"message": "You do not have access to the Apex class named:
BlueCloudGetOptyDetail"
}
]
[
{
"errorCode": "FORBIDDEN",
"message": "You do not have access to the Apex class named:
BlueCloudGetOptyDetail"
}
]
As you making GET request so you must used some user credentials for getting access token.
So check for that user's profile - having access for apex class 'BlueCloudGetOptyDetail' or not?
If not please give access for required classes by navigating - consider profile Name as 'Integration User Profile'.
Go to profile 'Integration User Profile' ->.
Let me know in case of any concerns.
Please mark this answer as the solution/ best answer if it solves your purpose so that it can help other community members.
Thanks,
Pramod Nishane
Salesforce Consultant
Varasi LLC
www.varasi.com
All Answers
Please check if you have any namespaces .. If you have it then change it namespace__BlueCloudGetOptyDetail
As you making GET request so you must used some user credentials for getting access token.
So check for that user's profile - having access for apex class 'BlueCloudGetOptyDetail' or not?
If not please give access for required classes by navigating - consider profile Name as 'Integration User Profile'.
Go to profile 'Integration User Profile' ->.
Let me know in case of any concerns.
Please mark this answer as the solution/ best answer if it solves your purpose so that it can help other community members.
Thanks,
Pramod Nishane
Salesforce Consultant
Varasi LLC
www.varasi.com