Hello all. I searched the community, but am not sure looping is the answer to my issue. Please advise if I’m wrong. I don’t want to waste anyone’s time.
My issue is this. I am importing customers into a platform and can only import one block of JSON at a time. When I concatenate two blocks of customer info, I get this error:
{
"statusCode": 422,
"type": "validationError",
"message": "One or more elements is missing or invalid",
"errors": [
{
"field": "",
"message": "must be a object"
}
]
}
As soon as I concatenate another block of the code (sample below), then I get this error. Not sure if this is something I doing wrong in POSTMAN or if the error is coming from the target vendor.
Here is the code block:
Hey thank you for taking the time to look into this. I used the data you pasted and exact same issue. I ran the code in another JSON analyzer and got “valid”, so I’m going to have to contact the vendor I suppose. Thank you again!
Hi. Yes that’s how I’m sending I just got confirmation from the vendor that they can only receive one record at a time. So I need to figure out how to build a loop in postman.