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

Failed to append xp #48

Closed
Aurioska25 opened this issue Jul 13, 2021 · 1 comment
Closed

Failed to append xp #48

Aurioska25 opened this issue Jul 13, 2021 · 1 comment

Comments

@Aurioska25
Copy link

Hello everyone.

So I run in a problem where I can't locate where can be wrong, and this happens almost a month.. So maybe here I will manage to find, help or solution how can I fix this.

IN console always getting this error :
Failed to append xp: ValidationError: level: Cast to Number failed for value "NaN" at path "level"

@Myst82015
Copy link
Collaborator

This is clearly a You-problem.
You migh've given xp of type string, null or undefined
-> that when module tried to operate got NaN which mongoose blocked from stored in the db

If you still need help, join our support server and make a ticket: https://discord.gg/rk7cVyk

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