# Get campaign errors

# HTTP method: GET

https://api.sender.net/v2/campaigns/{id}/errors

Returns a list of errors with reasons why this campaign cannot be sent.

id string required

Campaign ID

Code snippets

Response example

{
  "errors": [
    {
      "title": "No subscribers selected",
      "details": "Please select at least one subscriber group",
      "route": "campaigns/883133/subscribers"
    }
  ],
  "warnings": [
    {
      "title": "Add email preview text",
      "details": "We recommend using email preview text - this can improve your open rate",
      "route": "campaigns/883133/edit"
    },
    {
      "title": "SPF record is not verified",
      "details": "To improve your email deliverability, we advise you to set up SPF email authentication",
      "route": "settings/domains"
    },
    {
      "title": "DKIM record is not verified",
      "details": "To improve your email deliverability, we advise you to set up DKIM email authentication",
      "route": "settings/domains"
    }
  ]
}