Skip to content

error message for bucket creation is ambiguous #4728

@kubosuke

Description

@kubosuke

Please only report specific issues with flyctl behavior. Anything like a support request for your application should go to https://community.fly.io. More people watch that space and can help you faster!

Describe the bug
Briefly, describe what broke and provide the following details:

when bucket name is not matching naming rule, https://www.tigrisdata.com/docs/buckets/bucket-rules/
it returns ambiguous error

❯ flyctl storage create -n "afdshjfkjdhakjfhdsjkfhkjdfhaskjhfjdksafhjkahfkjdhsafkjhdakjfhskjfhakjfdhkjdsahkj"
Error: input:3:2: createAddOn The specified bucket is not valid.
  • Operating system
  • fly version
flyctl on  fix/storage-name-length-error-handling [?] via 🐹 v1.25.6 took 3s
❯ f --version
fly version 0.4.4

** Paste your fly.toml

# paste your config file here

** Command output: **

❯ flyctl storage create -n "afdshjfkjdhakjfhdsjkfhkjdfhaskjhfjdksafhjkahfkjdhsafkjhdakjfhskjfhakjfdhkjdsahkj"
Error: input:3:2: createAddOn The specified bucket is not valid.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions