-
Notifications
You must be signed in to change notification settings - Fork 22
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
'URI': bad argument (expected URI object or URI string) (ArgumentError) #3
Comments
I was able to fix the issue by hitting the API in a browser at I've not used the Bullhorn API before, and it looks like this is a required step if that's the case. It might be worth updating the README. |
I have seen the same thing, did a bit of digging and testing. If you repeatedly call the bullhorn api you eventually get this error, I think it's probably a race condition on their side If authorize fails location is almost always set to:
See the BH forum: in my fork of the repo my
I've hit the API pretty hard since adding this and zero errors so far! :) Will raise a PR against the main repo in case people want that fix. |
Having read #2, I tried installing bullhorn-rest from source, but am getting an error:
Here's my code:
It's obviously being caused by these lines in authorise.rb (line 25):
Presumably
location
is either nil or not in the correct format. I'll fork and do some more digging.The text was updated successfully, but these errors were encountered: