Closed Ntr0 closed 3 years ago
@Ntr0 regarding means of debugging the actual response from the request, please check version v5.2.1 since it contains and enhancement on this topic, providing also the API response in the error.
As per your error, the problem is with the format of the password, the detailed response being:
│ Error: error creating server: (422 Unprocessable Entity: {
│ "httpStatus" : 422,
│ "messages" : [ {
│ "errorCode" : "100",
│ "message" : "[(root).entities.volumes.items.[0].properties.imagePassword] Password syntax error. Password invalid, valid characters are: a-zA-Z0-9. Length between 8 and 50."
│ } ]
│ }
│ )
log.txt
Description
I ran into 422 errors coming from the cloud api. This is my tf file
Expected behavior
Server is created
Environment
Terraform version:
OS:
Configuration Files
How to Reproduce
Apply given example
Error and Debug Output
See attachment, but in short:
Additional Notes
If I had found any mean to debug the actual http requests / responses, I would have been able to point to the actual problem. If there is, it would be great to have that hint available, at least in the bug template maybe.
References