Skip to content
Back

unable to modify attribute

  • 0
  • Self Hosted
Alex Bourg
30 Jun, 2025, 21:50

please help: when I try to modify attribute size or key or anything, I am getting this errors:

TypeScript
Deprecated: strtolower(): Passing null to parameter #1 ($string) of type string is deprecated in /usr/src/code/vendor/utopia-php/database/src/Database/Validator/Index.php on line 62

[Error] Timestamp: 2025-06-30T21:48:17+00:00

[Error] Method: PATCH

[Error] URL: /v1/databases/:databaseId/collections/:collectionId/attributes/string/:key

[Error] Type: Appwrite\Extend\Exception

[Error] Message: Invalid index attribute "" not found

[Error] File: /usr/src/code/app/controllers/api/databases.php

[Error] Line: 409
TL;DR
Developers on appwrite 1.7.4 facing issues modifying attributes due to deprecated function call. Error message indicates invalid index attribute not found. To fix, update to the latest version of appwrite, as this issue may have been resolved in newer releases.
Alex Bourg
30 Jun, 2025, 21:52

I am using appwrite 1.7.4. is it safe to use the migrate command?

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