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
ryan_mmryan_mm 

API endpoint version used by Salesforce is sometimes inconsistent

We were explicitly referencing the v15.0 endpoint for a while in our app, which calls the API from a .NET app. We noticed in our logs that some calls were being handled by the 14.0 URL endpoint, and some by the 15.0, even though we had explicitly set the 15.0 endpoint in our app.

 

We're noticing some other weird errors (I will post those separately), but are curious as to why this could be happening?

werewolfwerewolf
Are you sure you're not just using something else that has a 14.0 endpoint?  Apex Code and Visualforce pages have endpoints too -- perhaps you wrote one of those things against 14.0?
ryan_mmryan_mm
That wouldn`t be it. We don`t mix in Apex or VisualForce code. Exclusively .NET app hitting the web services API.
SuperfellSuperfell
Do you get the serverUrl from a merge field? or are you coming in via login? where exactly are you looking and seeing 14.0 ?