Closed greut closed 5 years ago
When the error occurs before reaching CloudStack, the reason is often hidden by the fact that the answer isn't in the expected application/json
Before
cs.deployVirtualMachine(userdata="...")
CloudStackException("JSON (application/json) was expected, got 'text/html'")
After
CloudStackException('HTTP 414 Request-URI Too Large', "Make sure endpoint URL 'https://ppapi.exoscale.ch/compute' is correct.")
When the error occurs before reaching CloudStack, the reason is often hidden by the fact that the answer isn't in the expected application/json
Before
After