Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix:
invalid_input
API errors may not return details [Backport rele…
…ase-1.x] (#508) The create uploaded certificate endpoint may return the following error: ``` { "error": { "code": "invalid_input", "message": "certificate must use larger key size" } } ``` This change ensure that we do not get a json unmarshal error (unexpected end of json) while trying to parse a non-existing details data. --- Backport ca78af2 from #507. BEGIN_COMMIT_OVERRIDE fix: `invalid_input` API errors may not return details END_COMMIT_OVERRIDE Co-authored-by: Jonas L. <[email protected]>
- Loading branch information