yatish27 / salesforce_bulk_api

A Ruby client for Salesforce's bulk API
MIT License
77 stars 97 forks source link

Instance URL Parsing Issue Fix #82

Open BVerma-CRM opened 6 months ago

BVerma-CRM commented 6 months ago

Description

Existing parsing logic was causing issue when @server_url is something like https://ab1.my.salesforce.com Its parsing @instance as ab1 which is incorrect We should be getting ab1.my

yatish27 commented 4 months ago

Why should it be "ab1.my"

BVerma-CRM commented 4 months ago

Why should it be "ab1.my"

@yatish27 so it should not generate instance_host as ab1.salesforce.com -- that will throw connection issue https://share.zight.com/P8ur1PZe

We should be generating the instance_host as ab1.my.salesforce.com because its custom domain.