"Bad 'BhRestToken' or timed-out." error when exploring Bullhorn's REST API with POSTman

Forum for users and developers of Bullhorn's new REST API service.

Moderators: StaffingSupport, s.emmons, BullhornSupport

Post Reply
ackinc
User
Posts: 1
Joined: Tue Feb 12, 2019 9:38 pm

"Bad 'BhRestToken' or timed-out." error when exploring Bullhorn's REST API with POSTman

Post by ackinc » Tue Feb 12, 2019 9:48 pm

Using POSTman, and the guide here [http://bullhorn.github.io/Exploring-the ... h-PostMan/], I am able to do Bullhorn's OAuth login flow to get an access token, and then make a successful login request to get a BhRestToken. However, making any other request (search Candidates, etc.) using the BhRestToken (sent as cookie) fails with a 401 "Bad 'BhRestToken' or timed-out." error. Has anyone been able to get past this?

There are other threads about this issue, but they don't seem to have a solution.
Attachments
bad-bhrest-token-2.png
bad-bhrest-token-2.png (168.03 KiB) Viewed 385 times
bullhorn-bad-bhresttoken.png
bullhorn-bad-bhresttoken.png (160.4 KiB) Viewed 385 times

mholmemi
User
Posts: 7
Joined: Fri Feb 15, 2019 10:31 am

Re: "Bad 'BhRestToken' or timed-out." error when exploring Bullhorn's REST API with POSTman

Post by mholmemi » Tue Feb 19, 2019 11:54 am

Hi ackinc,

This is Mikaela from Bullhorn Support. Can you please confirm that you are replacing the "{{RESTURL}}" with the restURL that comes with BhRestToken? If not, please try using the restURL for a request.

I hope that helps! Please let me know if you have any further questions.

Best,
Mikaela
Mikaela Holme-Miller | Tier II/Enterprise Support Analyst

Post Reply