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
java.lang.IllegalStateException: Expected BEGIN_OBJECT but was BEGIN_ARRAY at line 478 column 14 path $.payload.FinancialEvents.FailedAdhocDisbursementEventList
#337
Closed
dengliming opened this issue
Sep 28, 2023
· 4 comments
· May be fixed by #341
java.lang.IllegalStateException: Expected BEGIN_OBJECT but was BEGIN_ARRAY at line 478 column 14 path $.payload.FinancialEvents.FailedAdhocDisbursementEventList
The text was updated successfully, but these errors were encountered:
"FailedAdhocDisbursementEvent": {
"type": "object",
"properties": {
"FundsTransfersType": {
"type": "string",
"description": "The type of fund transfer. \n\nExample \"Refund\""
},
"TransferId": {
"type": "string",
"description": "The transfer identifier."
},
"DisbursementId": {
"type": "string",
"description": "The disbursement identifier."
},
"PaymentDisbursementType": {
"type": "string",
"description": "The type of payment for disbursement. \n\nExample `CREDIT_CARD`"
},
"Status": {
"type": "string",
"description": "The status of the failed `AdhocDisbursement`. \n\nExample `HARD_DECLINED`"
},
"TransferAmount": {
"description": "The amount of the Adhoc Disbursement.",
"$ref": "#/definitions/Currency"
},
"PostedDate": {
"description": "The date and time when the financial event was posted.",
"$ref": "#/definitions/Date"
}
},
"description": "Failed ad hoc disbursement event."
},
"FailedAdhocDisbursementEventList": {
"type": "array",
"description": "Failed ad hoc disbursement event list.",
"items": {
"$ref": "#/definitions/FailedAdhocDisbursementEvent"
}
},
This is a very old issue that is probably not getting as much attention as it deserves. We encourage you to check if this is still an issue after the latest release and if you find that this is still a problem, please feel free to open a new issue and make a reference to this one.
FailedAdhocDisbursementEventList is defined as the object. But the repsonse is array.
Reference document:
selling-partner-api-models/models/finances-api-model/financesV0.json
Line 1715 in 39dd71c
java.lang.IllegalStateException: Expected BEGIN_OBJECT but was BEGIN_ARRAY at line 478 column 14 path $.payload.FinancialEvents.FailedAdhocDisbursementEventList
The text was updated successfully, but these errors were encountered: