social_media_app
social_media_app copied to clipboard
Cant create post. Attribute \"imageUrl\" has invalid format.
i am facing this error can someone please help me out what can be the possible issue?
i am facing this error can someone please help me out what can be the possible issue?
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.
Our fileUrl getting a promise. so we have to only add await in front of getFilePreview(uploadedFile.$id);
Thanks @ajayvish0 for the help. It solved my issue 👍
thank you @ajayvish0 i have been struggling with the issue for more than a week.