bullhorn/sdk-rest

Rest login not working sporadically

Opened this issue · 0 comments

Trying to login to BH by using the REST SDK fails sporadically, but we are able to retry and successfully send them over at a later time

Here are the different error messages we get :

  1. com.bullhornsdk.data.exception.RestApiException: Failed to create rest session

  2. com.bullhornsdk.data.exception.RestApiException: Failed to login and get BhRestToken: {"errorMessageKey":"errors.internalError","errorMessage":"Invalid or expired OAuth access token.","errorCode":400} 

  3. com.bullhornsdk.data.exception.RestApiException: Failed to login and get BhRestToken: null

However, when we see these deadletters we are able to successfully resend them later on. Why does this happen?