"UNKNOWN_INTERNAL_ERROR" error persisting an entity of type: Candidate

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

Moderators: StaffingSupport, s.emmons, BullhornSupport

Post Reply
sellingham
User
Posts: 2
Joined: Fri Nov 08, 2019 9:30 am

"UNKNOWN_INTERNAL_ERROR" error persisting an entity of type: Candidate

Post by sellingham » Mon Dec 02, 2019 5:36 am

Hi,

We're receiving an "error persisting an entity of type: Candidate" "UNKNOWN_INTERNAL_ERROR" response when we send the following request to the REST API (I've anonymised the sensitive info for posting here):

Code: Select all

PUT https://rest23.bullhornstaffing.com/rest-services/d5v9g/entity/Candidate

{
    "namePrefix": "Mr.",
    "firstName": "Test",
    "lastName": "Name",
    "owner": {
        "id": "171506"
    },
    "source": "TU Website",
    "email": "[i]test@example.com[/i]",
    "dayRate": "0.00",
    "customText17": [
        "Academic",
        "Board/Leadership"
    ],
    "description": "",
    "comments": "None",
    "customText9": "No religion or belief",
    "customText11": "No",
    "massMailOptOut": "0",
    "customText23": "60-64",
    "customText26": [
        "Children and young people",
        "Education",
        "International development",
        "Arts",
        "Culture & Heritage",
        "Research and public policy"
    ],
    "customText24": "White: English",
    "customText21": "Man",
    "customText22": "No",
    "customText27": [
        "Education"
    ],
    "customText25": "Heterosexual",
    "name": "Test Name",
    "customInt1": "1",
    "address": {
        "address1": null,
        "address2": null,
        "city": null,
        "state": null,
        "zip": null,
        "countryID": "2359",
        "countryCode": null,
        "countryName": null
    }
}
Given the lack of information in the error response, I'm at a loss to understand what the problem is and how to fix it. Any suggestions?

Post Reply