Skip to content

error message for bucket creation is ambiguous #4728

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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