Unexpected character encountered while parsing value: <. Path '', line 0, position 0.

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

Moderators: StaffingSupport, s.emmons, BullhornSupport

Post Reply
sharma17
User
Posts: 2
Joined: Tue Oct 24, 2017 9:37 am

Unexpected character encountered while parsing value: <. Path '', line 0, position 0.

Post by sharma17 » Fri Apr 20, 2018 1:33 pm

Hello Support - We're getting the below error intermittently when we get a response from the API. This is after getting the auth code from BH API. Can someone please assist?


Unexpected error occurred. Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: <. Path '', line 0, position 0.
at Newtonsoft.Json.JsonTextReader.ParseValue()
at Newtonsoft.Json.JsonTextReader.Read()
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.ReadForType(JsonReader reader, JsonContract contract, Boolean hasConverter)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)

Thanks,
Niraj

ColinC
User
Posts: 67
Joined: Fri Apr 08, 2016 4:54 pm

Re: Unexpected character encountered while parsing value: <. Path '', line 0, position 0.

Post by ColinC » Tue May 01, 2018 4:32 pm

Hello Niraj,

I recommend contacting support to take a look at this so that we can take a look at the specific calls you are making and see how we can assist directly with the database you are using.

Thank you,
Colin
Colin Coffman
Enterprise Support Analyst
B U L L H O R N
Staffing and Recruiting Software, On Target, On Demand
617-478-9126 (US Support)
+44 800 032 2848 ext. 9131 (UK Support)

Post Reply