Skip to content

NOT_GROUPED — Question grouping required

Some operations — wave-over-wave comparisons, grouped exports, tracker-style refinements — require questions to be grouped (typically into survey waves). The question you referenced isn’t part of any group.

409 Conflict. Standard envelope.

{
"success": false,
"error": {
"code": "NOT_GROUPED",
"message": "Question q_01HXJZK... is not part of a group. Group it first via POST /v1/projects/{id}/groups.",
"request_id": "req_01HXJZK4ABCDEF",
"doc_url": "https://docs.surveycoder.io/errors/not-grouped"
}
}
  • You’re running a tracker-style endpoint on a one-off question.
  • You created a new wave but forgot to attach it to the existing group.
  • A group was deleted but the question reference wasn’t updated.
  1. Create a group: POST /v1/projects/{id}/groups with a name like Brand tracker — laundry.
  2. Add the question(s): POST /v1/projects/{id}/groups/{gid}/members with the question IDs.
  3. Retry the original operation.
  4. For one-off questions that genuinely don’t need a group, use the non-grouped variant of the endpoint (most endpoints have both forms — see the API reference).