Invalid input JSON - Cannot deserialize value of type `java.util.LinkedHashMap`
resolver
Trying to create a contact with php, using the example code from the hubspot docs but getting the following error -
string(269) "{"status":"error","message":"Invalid input JSON on line 1, column 15: Cannot deserialize value of type `java.util.LinkedHashMap<java.lang.string,java.lang.string>` from Array value (token `JsonToken.START_ARRAY`)","correlationId":"f8d785e4-68c0-4860-b1e6-4ff977c053c1"}"</java.lang.string,java.lang.string>
This is code that I'm attempting to migrate from the old API to the newer API (v3) with a private app.
The status code which is returned is: 400
The response is: {"status":"error","message":"Invalid input JSON on line 1, column 15: Cannot deserialize value of type `java.util.LinkedHashMap<java.lang.String,java.lang.String>` from Array value (token `JsonToken.START_ARRAY`)", "correlationId":"32d18bc4-8bdd-41ca-b296-189f768835df"}
I've tried different things, and read through the documentation. I still cannot get this to work. Any guidance is really appreciated!