license_not_accepted
HTTP 422 The Microsoft SPLA terms must be accepted for Windows images
What happened
The image carries a paid Microsoft licence and the request did not accept the SPLA terms. It applies both when you create a server from a Windows image and when you reinstall an existing server onto one.
What to do
Add "accept_license": true to the body. Images that require it are marked with licensed set to true in GET /v1/server-types/{id}/images.
Retrying
Fix the request and send it again.
How it arrives
{
"type": "https://docs.fiberax.com/errors/license_not_accepted",
"title": "The Microsoft SPLA terms must be accepted for Windows images",
"status": 422,
"code": "license_not_accepted",
"request_id": "a277dcd1ca652c65"
}
Branch your code on code, never on the wording of title.