Closed jaspreet759 closed 4 months ago
Thanks for raising and posting the error. Looking into it!
I've updated the schema based on your error to allow more flexibility on the response body. Please try again and hopefully the issue will be gone. If the issue still persists, could you post a version of your response body here (be sure to remove any sensitive data) and i'll be able to test further.
[ { "code": "invalid_union", "unionErrors": [ { "issues": [ { "code": "invalid_type", "expected": "object", "received": "array", "path": [ "response", "body" ], "message": "Expected object, received array" } ], "name": "ZodError" }, { "issues": [ { "code": "invalid_type", "expected": "object", "received": "string", "path": [ "response", "body", 0 ], "message": "Expected object, received string" }, { "code": "invalid_type", "expected": "object", "received": "array", "path": [ "response", "body", 1 ], "message": "Expected object, received array" } ], "name": "ZodError" } ], "path": [ "response", "body" ], "message": "Invalid input" } ]