You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
val error =JsonParser().parse(response.responseBody).asJsonObject
code = error.get("status").asInt
description = error.get("detail").asString
} catch (e:Exception){}
}
throwMailchimpException(code, description)
Sometime we have "errors" field in the response body here, when we have problems with fields filled in the request (for example, required fields are not set, or set with invalid values).
Could you add this "errors" fields as List<Map<String,Object>> onto MailchimpException object with public getter for this unmodifiable list? This field is optional in the response body (can be NULL for MailchimpException)
Or, should I create PR for it by myself?
The text was updated successfully, but these errors were encountered:
Look at those lines:
maleorang/src/main/java/com/ecwid/maleorang/MailchimpClient.kt
Lines 62 to 70 in 2cd7161
Sometime we have "errors" field in the response body here, when we have problems with fields filled in the request (for example, required fields are not set, or set with invalid values).
Could you add this "errors" fields as List<Map<String,Object>> onto MailchimpException object with public getter for this unmodifiable list? This field is optional in the response body (can be NULL for MailchimpException)
Or, should I create PR for it by myself?
The text was updated successfully, but these errors were encountered: