Page 1 of 1

Invalid Client ID when API Auth Attempt

Posted: Tue Jan 12, 2021 9:53 pm
by akarisho1994
Hello,

I am attempting to make a POST request to the Bullhorn API in order to retrieve the AuthToken through this URL: https://auth.bullhornstaffing.com/oauth/authorize - which turns to

Code: Select all

https://auth.bullhornstaffing.com/oauth/authorize?client_ID=XXXX&username=YYYY&password=ZZZZ&response_type=code&action=Login
when I make the request.

The BullHorn OAuth API sends a response object back with

Code: Select all

status: 200
and

Code: Select all

statusText: OK
but the data property returned contains this string:

Code: Select all

<html>
<head>
<title>Bullhorn OAuth Error - Invalid Client Id</title>
</head>
<body>
<h1>Bullhorn OAuth Error</h1>
<h2>Invalid Client Id</h2>
<table>
    <tr>
        <td>
            Client Id:
        </td>
        <td>
            null
        </td>
    </tr>
</table>
</body>
</html>
As you can tell, it says that the Client ID is invalid. But I've checked numerous times if it was the right one and it still doesn't seem to be working.

Would anyone / the Bullhorn moderators know what the exact problem is?