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
Hi,
I'm trying to validate a input using a json schema (draft 2022-12), but can't get any useful info for my users.
I only get "a type is a string but an object was expected" message, but I need to tell them "your property 'example_prop' was a string but an object was expected".
My code:
Console error:
invalid payload: [I#] [S#] doesn't validate with file:(REDACTED)# [I#] [S#/type] expected object, but got string
Postman error:
The text was updated successfully, but these errors were encountered:
Hi,
I'm trying to validate a input using a json schema (draft 2022-12), but can't get any useful info for my users.
I only get "a type is a string but an object was expected" message, but I need to tell them "your property 'example_prop' was a string but an object was expected".
My code:
Console error:
Postman error:
The text was updated successfully, but these errors were encountered: