> For the complete documentation index, see [llms.txt](https://mariadb.com/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mariadb.com/docs/server/reference/error-codes/mariadb-error-codes-1700-to-1799/e1761.md).

# Error 1761: Foreign key constraint for table, record would lead to a duplicate entry in table

| Error Code | SQLSTATE | Error                                          | Description                                                                                                |
| ---------- | -------- | ---------------------------------------------- | ---------------------------------------------------------------------------------------------------------- |
| 1761       | 23000    | ER\_FOREIGN\_DUPLICATE\_KEY\_WITH\_CHILD\_INFO | Foreign key constraint for table '%s', record '%s' would lead to a duplicate entry in table '%s', key '%s' |

## Possible Causes and Solutions

{% hint style="success" %}
This article doesn't currently contain any content. [You can help!](/docs/general-resources/about/readme/contributing-documentation.md)
{% endhint %}

<sub>*This page is licensed: CC BY-SA / Gnu FDL*</sub>

{% @marketo/form formId="4316" %}
