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
priya burghatepriya burghate 

Error while using insertion in salesforce through java websevice

hello ,
Im trying to insert data in salesforce using webservice java
Im getting an error 
" Failed to send request to"

ive written endpoint as config.setAuthEndpoint("");  

but while trying same code without lan then it will success.
Only problem is that when using LAN
Gaurav KheterpalGaurav Kheterpal
What do you mean by with LAN or without LAN? In any case, check if you are behind a proxy or if you need one for your HTTP requests because that can definitely be causing issues.