I’ve been trying to submit jobs using the REST API (this is with 6.2.0.16), and I’m consistently getting internal server errors with this unhelpful error message:
u"Error: Unexpected character encountered while parsing value: J. Path '', line 0, position 0. (Newtonsoft.Json.JsonReaderException)"
I’ve been trying a dead-simple test submission using code similar to:
Yeah, that one was just user error in that I overestimated just how “friendly” the requests package would try to be about converting POST data. After manually dumping everything to JSON, everything works as expected.