-
Notifications
You must be signed in to change notification settings - Fork 51
Open
Labels
documentationinstanceInstance issues, bugs and feature requestsInstance issues, bugs and feature requestspriority:lowLow priority such as UX improvements and estheticsLow priority such as UX improvements and esthetics
Description
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:
- https://github.com/scaleway/scaleway-sdk-go/blob/master/scw/errors.go#L150-L151
- https://github.com/scaleway/scaleway-sdk-go/blob/master/scw/errors.go#L542-L567
Precondition errors should have a precondition
and optionally a help_message
. However, these two fields are absent in the backend response.
thomas-tacquet
Metadata
Metadata
Assignees
Labels
documentationinstanceInstance issues, bugs and feature requestsInstance issues, bugs and feature requestspriority:lowLow priority such as UX improvements and estheticsLow priority such as UX improvements and esthetics