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

The problem with deleting the record in the fresh versions of react-admin #21

Open
MaxAlex666 opened this issue Sep 10, 2018 · 2 comments

Comments

@MaxAlex666
Copy link

When you delete a record, you receive an error message in the response format:
"The response to 'DELETE' must be like { data: { id: 123, ... } }, but the received data does not have an 'id' key. The dataProvider is probably wrong for 'DELETE'"

@afilp
Copy link
Contributor

afilp commented Sep 10, 2018

I have the same issue:
"The response to 'DELETE' must be like { data: { id: 123, ... } }, but the received data does not have an 'id' key. The dataProvider is probably wrong for 'DELETE'"

This is with React-admin 2.2

JimmySorza pushed a commit to JimmySorza/aor-loopback that referenced this issue Sep 27, 2018
@JimmySorza JimmySorza mentioned this issue Sep 27, 2018
@MaxAlex666
Copy link
Author

Thank you, that's excellent!

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