[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: |
|
||||
| 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:
|