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
Bhushan burujwaleBhushan burujwale 

INVALID_OPERATION_WITH_EXPIRED_PASSWORD

Hi,

getting following Exception while fetching accounts  INVALID_OPERATION_WITH_EXPIRED_PASSWORD: The users password has expired, you must call SetPassword before attempting any other API operations

This makes me believe that the issue is that the password to the service account on the source has expired. However, customer insists the password was set to never expire, and we are able to successfully test connection. why this behavior??

SwethaSwetha (Salesforce Developers) 
HI Bushan,
Ideally, enabling the “Password Never Expires” setting in the Administrative Permissions section of a profile will prevent passwords from expiring for all users using that profile.

You can access profile settings via Setup, Manage Users, Profiles to verify the password policy.

Please see if you are checking the right API user associated with the integration?

Hope this helps you. Please mark this answer as best so that others facing the
same issue will find this information useful.
 
Thank you

 
Bhushan burujwaleBhushan burujwale

Hi swetha,

we are able to create session Id using the same password via API but above error occures while fetching accounts