Sebastian_Mannerheim Orson_Deforest and to everyone else this may concern.
The issue has now been resolved.
There are two different types of error messages available when sending a request to /v1/server/create
. One for 5xx errors and one for 4xx errors. These are based on what kind of response the API receives from the region control system which is referred to as "external API". The problem was that these errors where mixed up so that 4xx showed a 5xx error.
Example of 4xx error:
{
"message": "Deployment failed, region does not accept configuration. Please try a different plan and image. Reference: #00000000",
"response_type": "error",
"response_code": 422
}
Example of 5xx error:
{
"message": "Deployment failed, unable to proxy request to region. Please try a different region or wait. Reference: #00000000",
"response_type": "error",
"response_code": 502
}
More specifically: a 422 error means that one of either: plan ID, image ID or region ID was incorrect or unavailable at the moment. Therefore, always check the current availability to see which ID's can be used before sending a request to /create
or nay resource. https://api.99stack.com/docs/#tag/Public