appwrite: 🐛 Bug Report: Document creation failed when using url attribute

👟 Reproduction steps

When I create a new collection with an url attribute and try to create a new document in it, on the web editor or as api request, with this url:

https://www.amazon.de/AMAZONAS-Hängemattengestell-RockStone-größenverstellbar-270-330/dp/B005HGW6A4

I get an error message: Invalid document structure: Attribute "buy_url" has invalid format. Value must be a valid URL

👍 Expected behavior

It should create the document with the url attribute

👎 Actual Behavior

It can’t create the document when I use an url attribute.

🎲 Appwrite version

Version 0.15.x

💻 Operating system

Linux

🧱 Your Environment

I have a Hetzner root Server with debian Linux and run appwrite with docker-compose instead of the docker command.

👀 Have you spent some time to check if this issue has been raised before?

  • I checked and didn’t find similar issue

🏢 Have you read the Code of Conduct?

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Reactions: 1
  • Comments: 24 (12 by maintainers)

Most upvoted comments

@stnguyen90 can you check my PR ?

@SaurabhNandy, thanks for your interest! 🙏 Happy hacking!

@Sooraj-s-98, we’re assigning people on a first come first serve basis after hacktoberfest starts. If @SaurabhNandy isn’t able to complete the issue, we’re reassign accordingly. I’m the meantime, you can look for another hacktoberfest issue via our website.