Skip to content

Issue with precondition_error handling #2604

@aslafy-z

Description

@aslafy-z

While trying to debug #2603, I got a backend error that was not correctly handled by the SDK:

{
    "message": "Cannot create a volume of type sbs_volume from a base of type l_ssd",
    "type": "precondition_failed"
}

From what I understand here:

Precondition errors should have a precondition and optionally a help_message. However, these two fields are absent in the backend response.

Metadata

Metadata

Assignees

Labels

documentationinstanceInstance issues, bugs and feature requestspriority:lowLow priority such as UX improvements and esthetics

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions