-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
API Authentication Issue #263
Comments
Hi @guru257525, Not sure you should share your private credentials on a public site. You might want to delete them from this post. |
Hi @andrewsavill, I have removed it, let me know if you need anything else to debug this issue. |
Hi, Any update on this issue? |
Hey @guru257525, apologies for your wait. Have you tried to manually run through the API auth steps? This would possibly help us diagnose which step of the process this is failing at. The manual steps can be found here: http://bullhorn.github.io/Getting-Started-with-REST/ Please let me know if I can help you with this |
HI @charlesabarnes, Itseems to be working now, I did not make any changes though. Will let you know if anything goes wrong again Thanks |
Just to let you know that past versions of comments are visible on github, you should definitely revoke those credentials. They're still visible by clicking on the "edited" button next to the initial post. Hopefully you have done this already because anyone could've been accessing your data for the last 6 months. |
@guru257525 (mentioning you just in case the above comment didn't notify you) |
Hi Team,
The Authentication fails with the below exception
Exception in thread "main" com.bullhornsdk.data.exception.RestApiException: Failed to create rest session
at com.bullhornsdk.data.api.helper.RestApiSession.createSession(RestApiSession.java:136)
at com.bullhornsdk.data.api.helper.RestApiSession.(RestApiSession.java:88)
at com.bullhornsdk.data.api.StandardBullhornData.(StandardBullhornData.java:165)
at com.avrio.bullhorn.BullhornPullUtil.main(BullhornPullUtil.java:101)
Caused by: com.bullhornsdk.data.exception.RestApiException: Failed to get authorization code.
at com.bullhornsdk.data.api.helper.RestApiSession.getAuthorizationCode(RestApiSession.java:165)
at com.bullhornsdk.data.api.helper.RestApiSession.createSession(RestApiSession.java:126)
... 3 more
Caused by: java.lang.NullPointerException
at com.bullhornsdk.data.api.helper.RestApiSession.getAuthCode(RestApiSession.java:191)
at com.bullhornsdk.data.api.helper.RestApiSession.getAuthorizationCode(RestApiSession.java:162)
... 4 more
Let me know if you need anything else.
The text was updated successfully, but these errors were encountered: