Skip to content

🐛 Bug Report: Appwrite Dashboard -> Invalid max param: Value must be a valid integer & Attribute with the requested ID could not be found #1473

Open
appwrite/sdk-generator
#920
@ivanskodje

Description

👟 Reproduction steps

When I try to update an document Attribute name (the attribute key from entryCount to contestEntryCount), I get this error on an Integer attribute:
Invalid max param: Value must be a valid integer

Image

If I reduce Max to a more realistic value, I get another error when I try to Update:
Attribute with the requested ID could not be found.

Image

Both are occurring in the same modal.

Using Appwrite Self-Hosted Version 1.6.0

The Attribute was initially created from code (snippet):

databases.createIntegerAttribute(
        databaseId,
        contestCollectionId,
        "entryCount",
        true,
        0,
      ),

👍 Expected behavior

I expect the Appwrite web GUI to handle this by itself, and not populate nonsensically high integer values by default when opening the Update Attribute window. I also expect Appwrite web GUI to not throw an error when you DO have a valid integer value.

👎 Actual Behavior

Image

Image

🎲 Appwrite version

Version 1.6.x

💻 Operating system

Linux

🧱 Your Environment

Ubuntu Server
Self-Hosted Appwrite 1.6.0
Customization: Disabled rate limiting

👀 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?

Metadata

Labels

bugSomething isn't workingproduct / databasesFixes and upgrades for the Appwrite Databases

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions