Internal error when creating a note

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

Moderators: StaffingSupport, s.emmons, BullhornSupport

Post Reply
Kazemi
User
Posts: 41
Joined: Tue Oct 11, 2016 1:26 pm

Internal error when creating a note

Post by Kazemi » Thu Jun 29, 2017 4:57 pm

We're trying to add a note but are running into 500 errors:

Request url:
"https://rest9.bullhornstaffing.com/rest ... ntity/Note"

Headers:
BhRestToken: "<token>"
Content-Type: "application/json"

Data:
{
"comments":"This is a test note",
"personReference": {"id" : "1"}
}

Response:
{
"errorMessage": "An internal error has occurred",
"errorMessageKey": "errors.internalError"
}

sangaran
User
Posts: 3
Joined: Tue May 17, 2016 5:48 pm

Re: Internal error when creating a note

Post by sangaran » Thu Jul 13, 2017 4:04 pm

It looks like the personReference-->id value should be integer. Previously it was accepting as string, now it accepts only integer.
try this format it should work.
{
"comments":"This is a test note",
"personReference": {"id" : 1}
}

Post Reply