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

Problem in creating a record in firestore #276

Open
l0u1sg opened this issue Apr 28, 2023 · 1 comment
Open

Problem in creating a record in firestore #276

l0u1sg opened this issue Apr 28, 2023 · 1 comment

Comments

@l0u1sg
Copy link

l0u1sg commented Apr 28, 2023

Hello, I followed this tutorial to start with React Admin and firebase, but I have a problem, I can't create/modify records, I have this error that appears in the console

FirebaseError: [code=invalid-argument]: Function DocumentReference.set() called with invalid data. Unsupported field value: a custom Qh object

SCR-20230428-teqs

Does anyone have a solution?

@Med5KDB
Copy link

Med5KDB commented Nov 30, 2023

The data provider is responsible for handling CRUD actions in React Admin. That's being said, I invite you to check your dataProvider config i.e firebaseDataProvider in your case

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