When running the CLI and it encounters an error it is outputting the error message twice:
The above error log should simply say:
Error: failed to list objects due to ListObjects validation error for POST ListObjects with body {"code":"type_not_found","message":"type 'document' not found"}
with error code type_not_found error message: type 'document' not found