{ "error": { "type": "request_error", "code": "adjustment_transaction_item_invalid", "detail": "One or more adjustment items can't be processed.", "documentation_url": "https://developer.paddle.com/errors/adjustments/adjustment_transaction_item_invalid", "errors": [ { "field": "adjustment.transaction.items[0]", "message": "Adjustment item txnitm_01h1anzyznztjc1jz3cg32c6ex has already been fully adjusted" }, { "field": "adjustment.transaction.items[1]", "message": "adjustment amount for item txnitm_01h1anzyznztjc1jz3cg32c9sw is over remaining allowed 210" }, { "field": "adjustment.transaction.items[2]", "message": "You are attempting to make an adjustment with zero amount on a transaction item. ID txnitm_01h1anzyznztjc1jz3cg39w4rh" } ] }, "meta": { "request_id": "00000000-0000-0000-0000-000000000000" }}Details
- Status code
- 400
- Error code
adjustment_transaction_item_invalid- Error message
- One or more adjustment items can't be processed.
Common causes
- The amount you specified to adjust exceeds the amount that's available. See adjustment_amount_above_remaining_allowed.
- One or more items have already been fully adjusted. See adjustment_transaction_item_has_already_been_fully_adjusted.
- One or more items have an adjustment amount of zero. See adjustment_amount_cannot_be_zero.
Troubleshooting
- Check previous adjustments for this transaction by listing adjustments filtered using the
transaction_idquery parameter. - Check that you included the correct
item_ids for the transaction items you're trying to adjust. - Reduce the amount you're trying to adjust to be within the remaining allowed amount.
- Create an adjustment with
type: fullto create an adjustment for whatever amount is remaining. - Remove fully-adjusted or zero-amount items from your request.