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
Ops WanderaOps Wandera 

New login.salesforce.com produces BulkApi Error

[400] Bulk API HTTP Error result: <?xml version="1.0" encoding="UTF-8"?><error
   xmlns="http://www.force.com/2009/06/asyncapi/dataload">
 <exceptionCode>InvalidUrl</exceptionCode>
 <exceptionMessage>Destination URL not reset. The URL returned from login must be set</exceptionMessage>
</error>

This still works for eu2.salesforce.com for example but is not working for the soon to be migrated to login.salesforce.com.

Will this work on the go live of the new login sub domain?
Best Answer chosen by Ops Wandera
RadnipRadnip
eu2 is your instance eg eu2.salesforce.com. Your org won't migrate to login.salesforce.com it may change instance eg to eu5.salesforce.com but not login.salesforce.com. Depending on how your integrating to Salesforce you would either connect using test.salesforce.com (to connect to your salesforce sandbox) and then change to login.salesforce.com for your production instance. OR If your using eu2.salesforce.com currently then that could be the same or different for the other org you want to connect to eg eu5.salesforce.com or na15.salesforce.com etc.

All Answers

RadnipRadnip
eu2 is your instance eg eu2.salesforce.com. Your org won't migrate to login.salesforce.com it may change instance eg to eu5.salesforce.com but not login.salesforce.com. Depending on how your integrating to Salesforce you would either connect using test.salesforce.com (to connect to your salesforce sandbox) and then change to login.salesforce.com for your production instance. OR If your using eu2.salesforce.com currently then that could be the same or different for the other org you want to connect to eg eu5.salesforce.com or na15.salesforce.com etc.
This was selected as the best answer
Ops WanderaOps Wandera
Thanks for the reply Radnip. We are using the Python Simple Salesforce and SalesforceBulk API's where we currently point to eu2.salesforce.com instance in our code. I think the confusion for us is that in the emails we have received from SalesForce we were under the impression we would have to change this instance to login.salesforce.com for auth flow. If we have to switch to eu5.salesforce.com for example, will we receive notfication of this?