-
Notifications
You must be signed in to change notification settings - Fork 74
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: NotFound: No record found for id" when calling with socket.io #179
Comments
Maybe @MichaelErmer has some more insights into this. |
Can you explain this a bit more? I don't see how this could cause the error, as Your change is bad as it changes the default behaviour, if The error just tells you that you are trying to edit/delete a object that does not exist, the error is correct. |
I agree that the change you've suggested is not correct - while it may cause the error to go away in your app, it's not fixing the problem. The real problem is to figure out why records are not found when this code runs:
@jaslocum Can you please investigate since you are able to produce the error. Remove the code you added and try to see what the value of "id" and "findParams" are. I recommend turning on logging on the sequelize adapter so you can inspect the queries:
|
The problem is due to the Solved this error by setting up
|
Related to feathersjs-ecosystem/generator-feathers#307 |
No, #179 (comment) is a different issue, this issue should be closed as its a user error. |
This code change avoids the above error in my app:
9ece87e
The text was updated successfully, but these errors were encountered: