Back

Invalid URL

  • 0
  • Databases
Infinil
30 Sep, 2023, 17:32

appwrite.exception.AppwriteException: Invalid document structure: Attribute "image" has invalid format. Value must be a valid URL

This happens while updating the document with some other attribute but i wonder why am i able to create this document in the first place if the URL format is wrong?

TL;DR
The user is experiencing an issue with an invalid URL in their document. They are questioning whether they should make a bug report on GitHub and wondering if the error should occur during creation as well. The document was created in version 1.4.3 and contains a URL with a special character '★'. This URL is causing the error message: "Invalid document structure: Attribute 'image' has invalid format. Value must be a valid URL". The user is unsure why they were able to create the document with the invalid URL in the first place. Solution: The user could consider making a bug report on GitHub to address the issue. They
Infinil
30 Sep, 2023, 17:33

https://i0.wp.com/anitrendz.net/news/wp-content/uploads/2023/09/★milet_Anytime-Anywhere_cover-art.jpg?resize=300%2C300&ssl=1 this is the URL

Infinil
30 Sep, 2023, 17:33

i think this is the problem

Drake
30 Sep, 2023, 17:33

I think you're right

Drake
30 Sep, 2023, 17:34

Did you create the document in an older version?

Infinil
30 Sep, 2023, 17:34

nope

Infinil
30 Sep, 2023, 17:34

created yesterday in 1.4.3

Infinil
30 Sep, 2023, 17:37

so expected behavior is to generate the error on creation as well?

Infinil
30 Sep, 2023, 17:37

or let it pass whether its create/update?

Drake
30 Sep, 2023, 17:37

I would expect it to error on create too

Infinil
30 Sep, 2023, 17:41

should i make a github bug report

Drake
30 Sep, 2023, 17:41

Sure ya

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