> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.mangopay.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.mangopay.com/_mcp/server.

# 001024

<table>
  <tbody>
    <tr>
      <th class="header">
        Error message
      </th>

      <td class="table-content">
        Author is not the Mandate owner
      </td>
    </tr>

    <tr>
      <th class="header">
        Description
      </th>

      <td class="table-content">
        The pay-in failed because the author is not the mandate owner.
      </td>
    </tr>

    <tr>
      <th class="header">
        Categories
      </th>

      <td class="table-content">
        Mandate

        \


        Direct debit
      </td>
    </tr>
  </tbody>
</table>

#### Causes

This error occurs when the direct debit pay-in AuthorId is different from the UserId value of the corresponding Mandate.

#### What to do

In such cases, the platform has to check the integration. If they are calling the right mandate, then they need to make sure the author of the pay-in is the owner of the mandate.

#### Example

In the example below, find the API response when using the [Create a Direct Debit PayIn](/api-reference/direct-debit-payins/create-direct-debit-payin) endpoint to make a pay-in with an AuthorId different from the Mandate UserId.

**`API Response`**

```json API Response
{
    "Id": "163263010",
    "CreationDate": 1677515037,
    "AuthorId": "157399076",
    "CreditedUserId": "157399076",
    "Status": "FAILED",
    "ExecutionDate": null,
    "ChargeDate": null,
    "Type": "PAYIN",
    "Nature": "REGULAR",
    "CreditedWalletId": "157399408",
    "DebitedWalletId": null,
    "CreditedFunds": {
        "Currency": "EUR",
        "Amount": 1188
    },
    "DebitedFunds": {
        "Currency": "EUR",
        "Amount": 1200
    },
    "Fees": {
        "Currency": "EUR",
        "Amount": 12
    },
    "ResultCode": "001024",
    "ResultMessage": "Author is not the Mandate owner",
    "PaymentType": "DIRECT_DEBIT",
    "ExecutionType": "DIRECT",
    "Tag": null,
    "MandateId": "163262377",
    "StatementDescriptor": "Nov2016"
}
```

**`Mandate object`**

```json Mandate object
{
    "Scheme": "SEPA",
    "BankAccountId": "151467634",
    "BankReference": "MANGOPAY-9C9S6DQ4F",
    "Culture": "EN",
    "DocumentURL": "https://api.sandbox.mangopay.com/public/mandates/e8a73d/d276ab3002fd4093bcfc567f79035db5/document",
    "ReturnURL": "http://www.my-site.com/returnURL/?MandateId=163262377",
    "RedirectURL": "https://api.sandbox.mangopay.com/public/mandates/e8a73d/d276ab3002fd4093bcfc567f79035db5/confirmation",
    "Id": "163262377",
    "CreationDate": 1677514794,
    "Status": "SUBMITTED",
    "UserId": "151452401",
    "ExecutionType": "WEB",
    "MandateType": "DIRECT_DEBIT",
    "Tag": null,
    "ResultCode": null,
    "ResultMessage": null
}
```