---
agentTools:
  projectIndex: https://developer.runn.io/llms.txt
---

# Return 400 for phase names longer than the allowed length

`POST /projects/{projectId}/phases` and `PATCH /projects/{projectId}/phases/{phaseId}` now validate the phase `name` against the maximum length stored in the database and return a `400` with a clear message instead of failing with a server error. The maximum length is documented in the OpenAPI schema for both endpoints.