function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion 


I am unable to convert leads via API. Today, I have update the password. Its was working after update the password but suddently its not converting lead and giving the error 'INVALID_ACCESS_LEVEL' . This issue is occuring at my sandbox environment. Can anyone please help me whats the issue.

Thanks in advance 
SonamSonam (Salesforce Developers) 
Have you created any sharing rules on leads lately? The doc explains that it might be the reason you are getting this error:


You can't define a new sharing rule if it provides less access than the specified organization-wide default.
Hi Sonam, Thanks for the reply.

I have refresh the sandbox and now its working.