social_media_app icon indicating copy to clipboard operation
social_media_app copied to clipboard

Cant create post. Attribute \"imageUrl\" has invalid format.

Open Areeb5146 opened this issue 1 year ago • 4 comments

i am facing this error can someone please help me out what can be the possible issue? Screenshot 2023-11-06 203419

Areeb5146 avatar Nov 06 '23 15:11 Areeb5146

i am facing this error can someone please help me out what can be the possible issue? Screenshot 2023-11-06 203419

A 400 error means the data you're sending (client) to appwrite (server) is incorrect.

Make sure the imageUrl properties match those in the appwrite database.

hmongdev avatar Nov 07 '23 00:11 hmongdev

Our fileUrl getting a promise. so we have to only add await in front of getFilePreview(uploadedFile.$id);

Screenshot 2024-01-19 135949

ajayvish0 avatar Jan 19 '24 08:01 ajayvish0

Thanks @ajayvish0 for the help. It solved my issue 👍

AquibMS avatar Jan 28 '24 07:01 AquibMS

thank you @ajayvish0 i have been struggling with the issue for more than a week.

SagirGarba avatar Mar 12 '24 13:03 SagirGarba