Back

500 error: create file when filename include symbol

  • 0
  • Cloud
versun
26 Sep, 2023, 08:08

When a symbol is used in the filename to create a file, or when searching it in storage at web UI, you will get a 500 error symbol : < or >

TL;DR
There is a 500 error when trying to create a file with symbols like < or > in the filename. The user has already created an issue on Github for this problem. One possible solution is to replace these symbols with an underscore (_) instead. This workaround has worked for the user. If you really need to use these symbols, you may have to find a character to substitute for them and then change it back in the string.
🍜Udon🍜
26 Sep, 2023, 13:56

Do your files need to have symbols in them. Some symbols can't be used for obvious reasons. One possible solution if you have to use those symbols is to find a character you can substitute with for the symbol you want and then go through the string and change the new character back to the < or >

versun
26 Sep, 2023, 21:51

I am already replace them by '_' , It's worked now

Drake
27 Sep, 2023, 00:55

hmm would you please create an issue for this?

versun
27 Sep, 2023, 01:17

sure

versun
27 Sep, 2023, 01:33
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