---
title: "Invalid queue (invalid-queue)"
description: "PubNio invalid-queue problem, HTTP 422: Queue settings or a queue assignment are invalid: a bad time zone, slot, or limit, a queue from another account, a pinned occurrence in the past or past the horizon."
---

> Documentation Index
> Fetch the complete documentation index at: https://pubnio.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Invalid queue (invalid-queue)

HTTP 422 Invalid queue. Queue settings or a queue assignment are invalid: a bad time zone, slot, or limit, a queue from another account, a pinned occurrence in the past or past the horizon.

## When it happens

Every API operation except [`POST /api/v1/posts/validate`](https://pubnio.com/api/v1/docs#tag/posts/POST/api/v1/posts/validate) and [`GET /api/v1/billing/plans`](https://pubnio.com/api/v1/docs#tag/billing/GET/api/v1/billing/plans) declares it.

## Response body

```json
{
  "type": "https://pubnio.com/docs/problems/invalid-queue/",
  "status": 422,
  "title": "Invalid queue",
  "detail": "Review the queue settings.",
  "code": "invalid_queue",
  "issues": [
    {
      "code": "duplicate_slot",
      "path": ["slots", 1],
      "message": "Each weekly slot must be distinct."
    }
  ],
  "requestId": "0f8e4c2a-6b1d-4e3f-8a9b-7c6d5e4f3a21"
}
```

| Field    | Type                | Always present |
| -------- | ------------------- | -------------- |
| `issues` | array of QueueIssue | Yes            |

## Recovery for agents

- Fix every entry in `issues` at its `path`.

## Retryable

No: the SDKs mark HTTP 422 not `retryable`.

## Limits

- Match on `type` or `code`, not on `detail`.

## Related

- [Scheduling and queues problems](https://pubnio.com/docs/problems/#scheduling-and-queues)
- [API reference](https://pubnio.com/docs/api/)

Source: https://pubnio.com/docs/problems/invalid-queue/index.mdx
