question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Validation failed

See original GitHub issue

I’m working with this example code from Josh Morony.

I realise this has been mentioned in an earlier issue before the code was updated, but I cannot seem to get this past this error using the latest code. Any ideas?

OPTIONS /auth/register 204 0.153 ms - 0 (node:91488) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 2): Error: {"status":404,"name":"not_found","message":"missing","reason":"missing"} { error: 'Validation failed', validationErrors: Error: {"status":404,"name":"not_found","message":"missing","reason":"missing"} at /cloudo/server/node_modules/superlogin/lib/user.js:71:15 at <anonymous> at process._tickCallback (internal/process/next_tick.js:188:7), status: 400 } POST /auth/register 400 6.461 ms - 64

Response {_body: "{"error":"Validation failed","validationErrors":{},"status":400}", status: 400, ok: false, statusText: "Bad Request", headers: Headers, …} headers : Headers _headers : Map(1) {"content-type" => Array(1)} _normalizedNames : Map(1) {"content-type" => "content-type"} __proto__ : Object ok : false status : 400 statusText : "Bad Request" type : 2 url : "http://localhost:3000/auth/register" _body : "{"error":"Validation failed","validationErrors":{},"status":400}" __proto__ : Body

Node : v9.2.0 npm : 5.5.1

Issue Analytics

  • State:open
  • Created 6 years ago
  • Comments:8

github_iconTop GitHub Comments

1reaction
silverbackvascocommented, Nov 24, 2017

I’ve been looking for the past couple days as well for a solution to this. I have the exact same issue from tutorial. No idea how to solve this one but I’ll carry on searching for a solution and post something here if I find it.

0reactions
silverbackdancommented, Feb 16, 2018
Read more comments on GitHub >

github_iconTop Results From Across the Web

What does "Validation failed" mean when using Limecraft Edge?
"Validation failed, transcoded version has a different duration". This is because the length of the transcoded clip is not what you would ...
Read more >
Failed Validation Definition | Law Insider
Failed Validation means that the data in at least one field in the record does not match the required formatting for that field....
Read more >
Resolve model validation failed errors in CloudFormation - AWS
When I create a resource with AWS CloudFormation, I receive a "Model Validation Failed" error in my stack events.
Read more >
Solved: Validationfailed: The schema validation failed
I am trying to get all the channels from a team using graph api (https://graph.microsoft.com/beta/teams/8ba34c4b--4a50-92fb-/channels) which ...
Read more >
Failed Validation - TurboTax Support - Intuit
When I try to e-file, I get an error saying validation failed b/c an update is available for my program. When I check...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found