# deploy_blocked_by_scanner

HTTP 422 · Deploys and migrations (SPEC §6.2, §10, §15.2)

The security scan found a critical problem. Fix the findings in details and deploy again.

## Does retrying help?

Not as it is. Change the request as the message says, then send it again.

## The response

Every Flatstack error has this shape. `details`, when present, says more about this case.

```json
{
  "error": {
    "code": "deploy_blocked_by_scanner",
    "message": "The security scan found a critical problem. Fix the findings in details and deploy again.",
    "docsUrl": "https://flatstack.dev/docs/errors/deploy_blocked_by_scanner"
  }
}
```

[All error codes](/docs/errors)