aor-loopback icon indicating copy to clipboard operation
aor-loopback copied to clipboard

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

Open MaxAlex666 opened this issue 7 years ago • 2 comments

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'"

MaxAlex666 avatar Sep 10 '18 09:09 MaxAlex666

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

afilp avatar Sep 10 '18 23:09 afilp

Thank you, that's excellent!

MaxAlex666 avatar Sep 28 '18 03:09 MaxAlex666