Workspace failures
Review the following sections to help debugging workspace new
failures.
Workspace create fails with message Request Entity Too Large
When you create a workspace from an existing terraform.tfstate
file, it fails with error code 413
and a message Required Entiry Too Large
.
Your workspace create did not reach the Schematics, due to the size limitation of the terraform.tfstate
file.
Example error message
FAILED
Could not create the workspace. Please verify that your request is correct. If the problem persists, contact IBM Cloud support.
Status Code: 413
Message:
<title>413 Request Entity Too Large</title>
The terraform.tfstate
file size must be less than 2 MB. When you create workspace from an existing Terraform state file, the terraform.tfstate
file size must be less than 2 MB. Greater than 2 MB state file size is not
supported in the Schematics. Rerun the workspace create operation with a size that is less than 2 MB state file.