> This page is for Developer Documentation.

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

## Bugfix: DNA Sequence Auto-Annotation

Bugfix for `POST /dna-sequences:auto-annotate` endpoint

### What’s changing?

Currently, the [DNA Sequence auto-annotate endpoint](https://biotechtx.benchling.com/api/reference#/DNA%20Sequences/autoAnnotateDnaSequences) allows Oligos to be provided as input. Despite the successful status code, the created annotations are not visible in Benchling and are completely inaccessible to users.

Going forward, we’re resolving this erroneous behavior by returning an error when any non-DNA Sequence entity is provided as input to the DNA Sequences auto-annotate endpoint. You’ll receive a 400 error with the following message:

> Entities must be DNA sequences. No annotations were created.

Note that this impacts the entire request; if any non-DNA Sequence entity is included, the entire request will fail. This brings the API behavior inline with the expected functionality of the tool.

### When is this happening?

This change is already live; the DNA Sequence auto-annotation endpoint now returns an error when provided with any non-DNA Sequence input.