-
Notifications
You must be signed in to change notification settings - Fork 198
Labels
bugSomething isn't workingSomething isn't workingproduct / storageFixes and upgrades for the Appwrite StorageFixes and upgrades for the Appwrite Storage
Description
Summary
When attempting to create an API key or a File token, the following error is returned:
Invalid
expireparam: Value must be valid date in the future and between 0000-01-01 00:00:00 and 9999-12-31 00:00:00. or null
Steps to Reproduce
- Go to the section to create an API key or File token in the console
- Set the
expireparameter to Never - Attempt to create the API key or File token
- Observe the error message above
Expected Behavior
API key or File token should be created successfully when the provided expire param is a valid future date or is left as null.
Actual Behavior
Creation fails with an error about the expire param being invalid.
Additional Information
- The error occurs for both API key and File token creation
- Possibly related to input validation logic for the
expirefield
Suggested Next Steps
- Review and fix validation logic for the
expireparameter to ensure valid dates andnullare accepted - Add additional safeguards or tests for edge cases involving the date range
If more tracing or logs are needed, let me know and I'll help gather them.
Copilot
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingproduct / storageFixes and upgrades for the Appwrite StorageFixes and upgrades for the Appwrite Storage
Type
Projects
Status
Done