question

rawrkats avatar image
rawrkats asked Miguel Deactivated commented

getting bad request response

Client error: `POST <a href="https://sandbox.dev.clover.com/v3/merchants/E7XS2....">https://sandbox.dev.clover.com/v3/merchants/E7XS2...</a> resulted in a `400 Bad Request` response:{"message":"Invalid value in JSON: Can not deserialize instance of java.util.ArrayList out of START_OBJECT token\n at [S (truncated...)

json: ( validates on jsonlint )

["T4G70RV2TT00A","3 Knot Rope Tug Small","399","113","MAM20010","","0746772200100",[{"name":"Phillips (PFX Pet Supply)","id":"ZC476BYKTA04R","items":{"id":"T4G70RV2TT00A"}}],{"item":{"id":"T4G70RV2TT00A"},"quantity":"1"}]
works completely fine until I try to add the tags to the json!

what gives?
REST API
1 comment
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Miguel avatar image Miguel commented ·

What endpoint are you calling?

0 Likes 0 ·

0 Answers

Welcome to the
Clover Developer Community