product · inferred from evidence
Invalid document structure
An error message returned by the GoCardless API when the document structure is invalid.
- GoCardless instalment_schedules create_with_dates: 'Invalid document structure' — amount vs total_amount
Creating an instalment schedule with `create_with_dates` failed with 'Invalid document structure' even when copying the docs' example params. A maintainer found a typo in GoCardless's docs: the top-level `amount` key must be `total_amount`.