adrianhajdin / aora

Build your first mobile application
https://jsmastery.pro
1.41k stars 259 forks source link

Getting Error in Create Post #10

Closed HerbertNtim closed 4 months ago

HerbertNtim commented 4 months ago

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

OtaraAlex commented 4 months ago

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.

HerbertNtim commented 4 months ago

Okay thank you but how did you solve it?