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.

Strange validation errors result

See original GitHub issue

All errors are coming twice in the validation result, can you clarify that?

Schema:

{
    email: {
      isEmail: true
    },
    from: {
      isLength: {
        min: 3,
        max: 3
      }
    },
    to: {
      isLength: {
        min: 3,
        max: 3
      }
    },
    value: {
      isFloat: true
    }
  }

passed request - empty

Validation errors:

[{"email":"Invalid param"},{"from":"Invalid param"},{"to":"Invalid param"},{"value":"Invalid param"},{"email":"Invalid param"},{"from":"Invalid param"},{"to":"Invalid param"},{"value":"Invalid param"}]

Why is that?

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
maZahacacommented, Dec 22, 2016

You too 😉 Thanks for assistance

0reactions
lock[bot]commented, Jun 2, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Strange Validation Error - OptiX - NVIDIA Developer Forums
Hi, in my OptiX7.5-based path tracer app (using Detlef's renderer architecture from the Advanced Samples) I encountered on a DEBUG run a ...
Read more >
Validation.Error giving strange behavior - MSDN - Microsoft
I have a textbox bound to an object that implements the IDataErrorInfo interface. The textbox subscribes to the Validation.Error event. What is ...
Read more >
ValidationMessage strange behaviour with custom attribute
I've finally found the problem. In the validation attribute, when returning an error result, I have to pass memberName in the constructor.
Read more >
attempting to register produces strange validation error ...
I'm trying to register https://api.monarchinitiative.org/api/swagger.json I get this, which is fairly opaque: OAS3] '': 'basePath', ...
Read more >
Re: [rspec-users] Strange validation errors
googlemail.com> wrote: > Hey guys, > > I'm having a serious rspec-problem at the moment: > > I keep getting strange, empty validation...
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