1. Check the user’s profile. Make sure the Apex Class is added to the “Enabled Apex Class Access”.
2. Make sure the user has “API enabled” permission in the profile if they are trying to access REST API Apex Class.
1. Check the user’s profile. Make sure the Apex Class is added to the “Enabled Apex Class Access”.
2. Make sure the user has “API enabled” permission in the profile if they are trying to access REST API Apex Class.