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
Mayank.msMayank.ms 

INVALID_ACCESS_LEVEL

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:
reference:
https://developer.salesforce.com/docs/atlas.en-us.api.meta/api/sforce_api_calls_concepts_core_data_objects.htm

INVALID_ACCESS_LEVEL

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

I have refresh the sandbox and now its working.