Interestingly, Confluent API does not return a JSON object with an "error" field containing the error message when e.g. a validation error occurs during creating connectors. Instead, only the fields "message" and "code" are present in the returned body.
To better examine the cause of an error, this change reflects this and extracts the error message from the "message" field instead.
Interestingly, Confluent API does not return a JSON object with an "error" field containing the error message when e.g. a validation error occurs during creating connectors. Instead, only the fields "message" and "code" are present in the returned body.
To better examine the cause of an error, this change reflects this and extracts the error message from the "message" field instead.