Skip to content

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

@brendan-stephens

Description

@brendan-stephens

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}]...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions