Forum for users and developers of Bullhorn's API service.
Moderators: StaffingSupport, s.emmons, BullhornSupport
-
scaffrey
- User
- Posts: 3
- Joined: Fri Feb 03, 2017 9:02 am
Post
by scaffrey » Mon Mar 27, 2017 11:19 am
Hi Ben,
Can you please change the 'rest0' section to 'rest34' and see if it runs successfully?
So for example it would begin like this: '
https://public-rest34.bullhornstaffing.com...'
Regards,
Sam
Bullhorn Support UK: 44 800 032 2848
Bullhorn Support US: 1 617-478-9126
Bullhorn Support Australia: 61 28 073 5089
Bullhorn Support International: 1 617-478-9131
-
barbachanobullhorn
- User
- Posts: 1
- Joined: Tue May 16, 2017 12:36 pm
Post
by barbachanobullhorn » Tue May 16, 2017 12:43 pm
I'm getting this message when trying to add a candidate.
[errorMessage] => error persisting an entity of type: Candidate
[errorMessageKey] => errors.cannotPersistEntity
[errorCode] => 500
[errors] => Array
(
[0] => stdClass Object
(
[detailMessage] => cannot convert value to data type for field salaryLow
[propertyName] => salaryLow
[severity] => ERROR
[type] => IMPROPERLY_STRUCTURED_SCALAR
)
)
[entityName] => Candidate
)
-
garywong
- User
- Posts: 8
- Joined: Thu Aug 06, 2015 2:05 am
Post
by garywong » Fri Oct 04, 2019 12:24 am
I'm also getting these errors:
Array
(
[errorMessage] => error persisting an entity of type: Candidate
[errorMessageKey] => errors.cannotPersistEntity
[errorCode] => 500
[errors] => Array
(
[0] => Array
(
[detailMessage] =>
[propertyName] =>
[severity] => ERROR
[type] => UNKNOWN_INTERNAL_ERROR
)
)
[entityName] => Candidate
)
I see this is a generic error (no message text), but is there a way to 'dig deeper'? I plan to set up a debug statement but can I request a 'followup detail API call' after such a server 500 error? TOA
-
garywong
- User
- Posts: 8
- Joined: Thu Aug 06, 2015 2:05 am
Post
by garywong » Mon Oct 07, 2019 2:51 am
Found the issue, I was getting a 500 errors when creating a Candidate, from a parsed Resumes that he uploaded... the key fields (e.g. email, first name, last name) were not parsed out and so BH returns a generic 500 (no messsage text). In my situation, the first and last names were not the typical 'John Smith' and so could not be parsed.. the email was unfortunately labelled 'mail address' on the resume and so BH couldn't pull this out either.