Closed joshlevin closed 10 months ago
Hello! Thank you for reporting this! We are in the process of triaging it and will keep you updated!
Thank you again for reaching out @joshlevin . It seems we have a bug in our deserializer and are patching it in https://github.com/EasyPost/easypost-java/pull/289. We hope to have a fixed release out soon!
Software Version
6.8.0
Language Version
11
Operating System
Ubuntu Linux
What happened?
{"message": "API did not return error details.", "code": "NO RESPONSE CODE"}
regardless of the actual error code and message returned by the API!What was expected?
Given the following API response:
"verifications":{"zip4":{"success":false,"errors":[{"code":"E.ADDRESS.NOT_FOUND","field":"address","message":"Address not found","suggestion":null}],"details":null},"delivery":{"success":false,"errors":[{"code":"E.ADDRESS.NOT_FOUND","field":"address","message":"Address not found","suggestion":null}],"details":{}
Expected that Error objects should have the error codes and messages received, instead of the generic fallback of "API did not return error details." and "NO RESPONSE CODE"
Sample Code
No response
Relevant logs