Replies: 1 comment
-
Running into the same issue. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am encountering an issue when using
zValidator
with a JSON schema in my Node.js application. Specifically, I am receiving the error "Invalid HTTP header: Content-Type=undefined" when trying to validate JSON data using the following schema and validation setup:What I want to achieve:
accessCode
is a boolean.Is it possible to achieve these requirements with Zod and zValidator? If so, how can I modify my setup to accomplish this? If not, are there any workarounds or alternative approaches I can consider?
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions