Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

path in instance_url gets stripped out #665

Open
gsar opened this issue Sep 7, 2021 · 1 comment
Open

path in instance_url gets stripped out #665

gsar opened this issue Sep 7, 2021 · 1 comment

Comments

@gsar
Copy link

gsar commented Sep 7, 2021

If I set the instance_url to a value that includes a path, for example https://my-api-proxy.example.com/api, the query api calls seem to end up going to https://my-api-proxy.example.com/services/data/v30.0/query instead of the expected https://my-api-proxy.example.com/api/services/data/v30.0/query.

It would seem this is because restforce always uses a path starting with / when handing it off to Faraday. Omitting the leading / might fix the issue as described here: lostisland/faraday#823 (comment)

@gsar
Copy link
Author

gsar commented Sep 7, 2021

this could be referring to the same issue: #629

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant