Validation error "must be an object"

Open
#56 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
20/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
javascript
Domain
api

Research direction

The report names the myway.enterName method but no repository file or test; begin by reproducing the call and locating its validate() or validateOne() invocation. Trace the first argument to identify the failing input, then define a regression test and the expected correction before making a fix.

Written by the indexing model from the issue text.

Description

This is the error I find in terminal of my code. I cant resolve this exception. "Exception while invoking method 'myway.enterName' Error: The first argument of validate() or validateOne() must be an object". In console "Error invoking Method 'myway.enterName': Internal server error [500]" this error is shown.

Dominant language
JavaScript
Stars
193
Forks
29
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from meteor/validated-method

All issues in meteor/validated-method

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.