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

Error while web service call to salesforce sandbox

I am integrating with salesforce through java.
 I want to test it on salesforce sandbox so i am using END POINT as  : ``  

but i get an error like : `Invalid username, password, security token; or user locked out.`

Please help!


From the information that you have provided it seems a login issue.


Please make sure you are using the proper user id and password of the sandbox environment (it is different than your production environment login) and you need to supply the security token with the password , so the password information will be concatenation of both (password followed by the security token)


Thanks and Regards,

Dinesh Nasipuri



Adding to above reply, also check if any proxy settings need to be set in the java code