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
{{ message }}
Repository navigation
ReadTransaction always returns an empty result — wrong response type #63
TransactionsAPIService.ReadTransaction (GET /users/{user_guid}/transactions/{transaction_guid}) is typed to return TransactionsResponseBodyIncludes, but the endpoint responds with a singulartransaction object. The SDK unmarshals into a struct that only maps the plural transactions key, so the payload is silently dropped and the returned value is always empty — with no error.
Version
v1.13.0 (latest). Also present on master HEAD.
Actual API response
{
"transaction": {
"guid": "TRN-...",
...
}
}
SDK type used
ReadTransactionExecute returns *TransactionsResponseBodyIncludes (api_transactions.go#L1834), whose only relevant field is:
json.Unmarshal ignores the unknown transaction key, leaves Transactions nil, and returns no error. Callers see an empty list for a transaction that actually exists.
Activity