note: objectID as defined under “-d” are parentObjectID (i.e. “Joe” in Person table) and relationObjectID (i.e. “Dallas” in City table)
I followed the syntax given on the documentation but seems like I am not getting it right as shown in the error message below :
{“code”:8002,“message”:“Could not parse request with message: Error decoding json body: com.fasterxml.jackson.core.JsonParseException: Unexpected character (‘o’ (code 111)): was expecting double-quote to start field name\n at [Source: (akka.util.ByteIterator$ByteArrayIterator$$anon$1); line: 1, column: 4], status code 400, headers POST /39C8B0AF-2F6E-7F6A-FF0C-1E1B176ED600/CC6B9318-476B-4DB2-8CEF-4C21CD4AA681/data/Person/BC63E5BE-4E38-48B5-ACAD-23EDF9544BDF/cityofResidence”,“errorData”:{}}* Connection #0 to host api.backendless.com left intact*
Thanks @stanislaw.grin for the help and advice.
I have followed the JSON payload as advised but I am still getting the error message as below:
{“code”:8002,“message”:“Could not parse request with message: Error decoding json body: com.fasterxml.jackson.core.io.JsonEOFException: Unexpected end-of-input: expected close marker for Array (start marker at [Source: (akka.util.ByteIterator$ByteArrayIterator$$anon$1); line: 1, column: 1])\n at [Source: (akka.util.ByteIterator$ByteArrayIterator$$anon$1); line: 1, column: 2], status code 400, headers POST /39C8B0AF-2F6E-7F6A-FF0C-1E1B176ED600/CC6B9318-476B-4DB2-8CEF-4C21CD4AA681/data/Person/BC63E5BE-4E38-48B5-ACAD-23EDF9544BDF/cityofResidence”,“errorData”:{}}* Connection #0 to host api.backendless.com left intact
I am new to coding and appreciate your thoughts or advice please.