Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Incorrect error returned if a backup has not yet been created. #387

Open
brendan-stephens opened this issue Sep 20, 2024 · 0 comments
Open

Comments

@brendan-stephens
Copy link

What happened?

Using avn service wait to check for state, a call to create a remote replica failed with the following error.

ERROR   command failed: Error: {"errors":[{"message":"Creation of a read replica not allowed under current plan","status":403}],"message":"Creation of a read replica not allowed under current plan"}

What did you expect to happen?

I believe this may be timing/race between service available and backup exists to create the replica, but the error message should be updated.

ERROR   command failed: Error: {"errors":[{"message":"Creation of a read replica not allowed when a backup is unavailable","status":400}]...
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant