Why is this an issue?
Running cloud storage lifecycle set test-bucket --days 60 returns a generic "An unexpected error occurred" instead of a meaningful error message.
What is causing it?
The API returns an INTERNAL error code without context.
How can it be solved?
Either fix the underlying issue or return a more descriptive error message.
Category
Severity
Steps to reproduce
cloud storage lifecycle set test-bucket --days 60
# Error: api error: {"error":{"type":"INTERNAL","message":"failed to create lifecycle rule","code":"INTERNAL"},"meta":{...}}
Why is this an issue?
Running
cloud storage lifecycle set test-bucket --days 60returns a generic "An unexpected error occurred" instead of a meaningful error message.What is causing it?
The API returns an INTERNAL error code without context.
How can it be solved?
Either fix the underlying issue or return a more descriptive error message.
Category
Severity
Steps to reproduce