[MONGOCRYPT-153] Return error messages for non-200 error codes from KMS Created: 28/Aug/19  Updated: 28/Oct/23  Resolved: 15/Oct/19

Status: Closed
Project: Libmongocrypt
Component/s: None
Affects Version/s: None
Fix Version/s: 1.0.0-rc0

Type: Improvement Priority: Major - P3
Reporter: Kevin Albertson Assignee: Kevin Albertson
Resolution: Fixed Votes: 0
Labels: fle-ga
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends

 Description   

Currently, libmongocrypt returns an error status with the message "Parsed a non-ok Status-Code." when a non-200 error code is returned from a KMS HTTP response. Instead, we should return the error message included in the body (if there is one).



 Comments   
Comment by Githook User [ 15/Oct/19 ]

Author:

{'name': 'Kevin Albertson', 'username': 'kevinAlbs', 'email': 'kevin.albertson@mongodb.com'}

Message: MONGOCRYPT-153 parse error messages from KMS

Generated at Thu Feb 08 09:08:05 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.