You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to write a function that validates if my response has the correct JSON Schema but I keep getting the same error message for whatever I try:
"error: Invalid type: undefined (expected object).
data path: .
schema path: /type.
I'm trying to write a function that validates if my response has the correct JSON Schema but I keep getting the same error message for whatever I try:
"error: Invalid type: undefined (expected object).
data path: .
schema path: /type.
I've explained my issue here, including the response and my function:
https://pastebin.com/VeZLGF2U
Please let me know if you need anymore details.
The text was updated successfully, but these errors were encountered: