flyctl redis create 500 error

When I ran $ flyctl redis create, it responded with this message:

$ flyctl redis create
automatically selected personal organization: Kevin
? Choose a Redis database name (leave blank to generate one): {withheld}
? Choose a primary region (can't be changed later) Seattle, Washington (US) (sea)
? Optionally, choose one or more replica regions (can be changed later): 

Upstash Redis can evict objects when memory is full. This is useful when caching in Redis. This setting can be changed later.
Learn more at https://fly.io/docs/reference/redis/#memory-limits-and-object-eviction-policies
? Would you like to enable eviction? No
? Select an Upstash Redis plan Free: 100 MB Max Data Size
Error returned error 500 Internal Server Error: {"errors":[{"message":"You ran into an error connecting to the Fly API. If the error persists, keep this request ID to help Fly Support track it down: 01GBK479CWAPW384CNYQ7160XD-sea","extensions":{"code":"SERVER_ERROR","fly_request_id":"01GBK479CWAPW384CNYQ7160XD-sea"}}],"data":{}}

When I re-ran it, it acts like a redis exists

$ flyctl redis create
automatically selected personal organization: Kevin
? Choose a Redis database name (leave blank to generate one): 
? Choose a primary region (can't be changed later) Seattle, Washington (US) (sea)
? Optionally, choose one or more replica regions (can be changed later): 

Upstash Redis can evict objects when memory is full. This is useful when caching in Redis. This setting can be changed later.
Learn more at https://fly.io/docs/reference/redis/#memory-limits-and-object-eviction-policies
? Would you like to enable eviction? No
? Select an Upstash Redis plan Free: 100 MB Max Data Size
Error input:3: createAddOn You may only provision 1 Free plan per organization

but I don’t see it in the dashboard, but I do see it when it lists it

flyctl redis list
NAME            ORG             PLAN    PRIMARY REGION  READ REGIONS 
{withheld}       personal        Free    sea 

if I try to get more details it says

$ fly redis status {withheld}

Error returned error 500 Internal Server Error: {"errors":[{"message":"You ran into an error connecting to the Fly API. If the error persists, keep this request ID to help Fly Support track it down: 01GBK4KJ59TZ65ZB7PWSS6EM2W-sea","extensions":{"code":"SERVER_ERROR","fly_request_id":"01GBK4KJ59TZ65ZB7PWSS6EM2W-sea"}}],"data":{}}

and I can’t delete

$ flyctl redis delete {withheld}
Error returned error 500 Internal Server Error: {"errors":[{"message":"You ran into an error connecting to the Fly API. If the error persists, keep this request ID to help Fly Support track it down: 01GBK4NKGRCJKE842YDKGAXGD3-sea","extensions":{"code":"SERVER_ERROR","fly_request_id":"01GBK4NKGRCJKE842YDKGAXGD3-sea"}}],"data":{}}

This looks like a problem on our end, where a db creation failed and left a stale record. We can clean it up, but I’d like to know: have you been able to create another database?

Error input:3: createAddOn You may only provision 1 Free plan per organization

I’ve tried to create a second free database, but I got this error.

I created a paid 200MB one successfully (but I just want the free one, not the paid one).

The cli let me delete the 200MB one, but I am still not able to delete the free one:

Error returned error 500 Internal Server Error: {"errors":[{"message":"You ran into an error connecting to the Fly API. If the error persists, keep this request ID to help Fly Support track it down: 01GBNBN9JK3CYQBGSD73Q78NMP-sea","extensions":{"code":"SERVER_ERROR","fly_request_id":"01GBNBN9JK3CYQBGSD73Q78NMP-sea"}}],"data":{}}

This was an issue on our end. Can you check now that the database was cleared out?

Awesome! that worked. Thanks.

@jsierles I am having the same issue. Getting following error:

Error returned error 500 Internal Server Error: {"errors":[{"message":"You ran into an error connecting to the Fly API. If the error persists, keep this request ID to help Fly Support track it down: 01GBQDW1D97FS8BQAVCVTETKBT-maa","extensions":{"code":"SERVER_ERROR","fly_request_id":"01GBQDW1D97FS8BQAVCVTETKBT-maa"}}],"data":{}}

We should issue a better error here - in your case you’re using redis as the name of the db you want to remove. You’ll have to use the name you see in fly redis list.

Hi @jsierles
I did run command fly redis delete redis. But got same error.

Error returned error 500 Internal Server Error: {"errors":[{"message":"You ran into an error connecting to the Fly API. If the error persists, keep this request ID to help Fly Support track it down: 01GBQHSZMQQA2Z7778YVT7JP58-maa","extensions":{"code":"SERVER_ERROR","fly_request_id":"01GBQHSZMQQA2Z7778YVT7JP58-maa"}}],"data":{}}

Sorry for the trouble. This should be cleared up now.

Hello there, i’m getting the following error when running “fly redis create”:

Error: returned error 500 Internal Server Error: {“errors”:[{“message”:“You hit a Fly API error with request ID: 01J5GRGCS4QS0P21WMEMR78084-gig”,“extensions”:{“code”:“SERVER_ERROR”,“fly_request_id”:“01J5GRGCS4QS0P21WMEMR78084-gig”}}],“data”:{}}

Could someone please help me?
Thanks!!