Rest login not working sporadically
Opened this issue · 0 comments
maheedhar-randstad commented
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 :
-
com.bullhornsdk.data.exception.RestApiException: Failed to create rest session
-
com.bullhornsdk.data.exception.RestApiException: Failed to login and get BhRestToken: {"errorMessageKey":"errors.internalError","errorMessage":"Invalid or expired OAuth access token.","errorCode":400}
-
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?