Back

Error from backend

  • 0
  • Android
  • React Native
  • Auth
Fayek Ahmed
2 Sep, 2024, 13:46

ERROR Error: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: object.

Check the render method of VideoCard. I'm having this issue while trying to post image from backend to frontend. How I can resolve this issue?

TL;DR
Error message "Element type is invalid: expected a string or a class/function but got object" in `VideoCard` render method. Issue arises when posting image from backend to frontend. To resolve, check the render method in `VideoCard` component and ensure it returns a valid element type such as string or class/function, rather than an object.
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more