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
juice2juice2 

server URL

The serverURL returned by my login element is https://na0-api.salesforce.com/services/Soap/c/2.5 - However, this does not return results for my generic soap message which successfully works when the login url returned is https://na1-api.salesforce.com/services/Soap/c/2.5.

I'm dynamically building my results based on a user's session id and url. Do i need to do something different or customize the message to get the first url to work.

adamgadamg
Hmm. So when a user logs in and is mapped to na0 it fails, but when a different user logs in and is mapped to na1 it works? There should be no different in interface/response between the servers; if the problem persists let us know so we can follow up.
juice2juice2

Correct. User 'A' logs in and the server URL is http://na-1... this works fine. User 'B' logs in and the server url is https://na0-api.salesforce.com/services/Soap/c/2.5  - User 'B' does not work

DevAngelDevAngel

Hi juice2,

The url returned from the login needs to be used with all subsequent api calls for that user.  Check your code to make sure you don't have a url hardcoded anywhere.