Java SDK REST error

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

Moderators: StaffingSupport, s.emmons, BullhornSupport

Post Reply
melbadry
User
Posts: 2
Joined: Wed Nov 22, 2017 2:04 pm

Java SDK REST error

Post by melbadry » Wed Nov 22, 2017 2:09 pm

I receive the following error

Code: Select all

22 Nov 2017 18:51:14,635 ERROR [CustomExceptionResolver] An Exception has occured in the application
com.bullhornsdk.data.exception.RestApiException: {
  "errorMessage" : "Bad 'BhRestToken' or timed-out.",
  "errorMessageKey" : "errors.authentication.invalidRestToken",
  "errorCode" : 401
}
when I try to connect to REST API (BullhornData in the Java SDK) although I get the REST token when I try to generate the REST token from HTTP requests using client secret and ID.

please advise

xventola
User
Posts: 7
Joined: Wed Dec 06, 2017 1:38 pm

Re: Java SDK REST error

Post by xventola » Wed Dec 06, 2017 1:42 pm

Hi melbadry,

There is currently a known issue for this REST timeout issue. I will update you on the progress of the fix but please let me know if you have any further questions in the meantime. Thanks!

xventola
User
Posts: 7
Joined: Wed Dec 06, 2017 1:38 pm

Re: Java SDK REST error

Post by xventola » Thu Dec 14, 2017 9:10 am

Hi melbadry,

This issue was resolved with the recent Bullhorn code release. Please let me know if you still encounter these errors.

melbadry
User
Posts: 2
Joined: Wed Nov 22, 2017 2:04 pm

Re: Java SDK REST error

Post by melbadry » Fri Feb 23, 2018 10:48 am

xventola wrote:Hi melbadry,

This issue was resolved with the recent Bullhorn code release. Please let me know if you still encounter these errors.
Hi xventola,

it's working now fine. thank you!

Post Reply