External API Error Invalid Type: Object (Expected Array)

Hello,

I am seeing an error with a PATCH call I am making and receiving the following error message:
{"message":"validation failure","errors":[{"dataPath":"","message":"Invalid type: object (expected array)"}]}

However the req.body that I am sending is:
image
(Json only version)

[
    {
        "op": "replace",
        "path": "/label",
        "value": "North America"
    }
]

I have opened up a ticket with the external api service for assistance, but I am wondering if I am potentially missing something as I am structuring my JSON body.

Appreciate any help!
-Will

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.