Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error validating new item in schema "users" #79

Closed
pavelsr opened this issue Nov 19, 2019 · 2 comments
Closed

Error validating new item in schema "users" #79

pavelsr opened this issue Nov 19, 2019 · 2 comments

Comments

@pavelsr
Copy link

pavelsr commented Nov 19, 2019

When I played with your CMS and demo project I got errors when trying to add new user:

Error validating new item in schema "users": /plugin: Expected string - got null
Error validating new item in schema "users":  (/created)

How to debug such errors ?

@preaction
Copy link
Owner

What command/steps were you running when you got that error? It looks like you're creating a user but not providing a plugin value or a created value. The plugin needs to be some string (part of supporting multiple authentication methods in Yancy::Plugin::Auth), and the created needs to be an ISO8601 datetime (YYYY-MM-DD HH:MM:SS, like 2019-01-01 14:45:12).

@preaction
Copy link
Owner

Closing this issue until further information can be provided

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants