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

Error when trying to Create a new record #74

Open
Djiit opened this issue Nov 2, 2023 · 1 comment
Open

Error when trying to Create a new record #74

Djiit opened this issue Nov 2, 2023 · 1 comment

Comments

@Djiit
Copy link

Djiit commented Nov 2, 2023

Whenever I try to create a new record, I get a "Element does not exist" error toast (a xhr post call returns {data: null}.
Did I miss something?

@ogroppo
Copy link
Contributor

ogroppo commented Nov 2, 2023

Sounds like it's trying to do an update instead of a create, are you sure you have put the createHandler (or the defaultHandler) in your API endpoint?
A snippet of your code would be useful

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