adrianhajdin / aora

Build your first mobile application

Home Page:https://jsmastery.pro

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Getting Error in Create Post

HerbertNtim opened this issue · comments

WhatsApp Image 2024-04-23 at 03 33 26_bdca6c27

  1. I got this error "Error: TypeError: Cannot read property '$id' of undefined " and now i implemented if else condition to check the uploaded file if it exists or not..... after that i got the else statement that the file upload failed.

  2. Currently there another issue with appwrite which is "video and thumbnail are required" even though i have uploaded them from my local phone storage, I can't still make the file submission to the database

  3. I am also getting cannot read property 'username' of null in the home.jsx page

create jsx - Aora - Visual Studio Code 4_22_2024 10_09_42 PM

Getting a similar error, initialy the DocumentPicker worked and the video got published but using the ImagePicker the assetId is null hence it can not be submitted.

Okay thank you but how did you solve it?