Java SDK REST error

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

Moderators: StaffingSupport, s.emmons, BullhornSupport

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

Java SDK REST error

Postby 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

Postby 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

Postby 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.


Return to “REST API”

Who is online

Users browsing this forum: No registered users and 7 guests