🐛 Bug Report: Appwrite Dashboard -> Invalid max param: Value must be a valid integer & Attribute with the requested ID could not be found
- Dominant language
- Svelte
- Stars
- 393
- Forks
- 260
- Avg merge
- 6h 53m
- Merged PRs (30d)
- 24
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`

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.`

Both are occurring in the same modal.
> Using Appwrite Self-Hosted Version 1.6.0
The Attribute was initially created from code (snippet):
```ts
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


### 🎲 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?
- [x] I checked and didn't find similar issue
### 🏢 Have you read the Code of Conduct?
- [x] I have read the [Code of Conduct](https://github.com/appwrite/.github/blob/main/CODE_OF_CONDUCT.md)
Contributor guide
Assessment
This issue has not been assessed yet.