Skip to content

Monitor Import Skipped or Refused

An import brings your monitors over from another uptime service in DownBad’s downbad.import.v1 format, first as a preview that changes nothing, then for real. This page takes you from a skipped monitor or a refused import to one that goes through. How to import is in Import Monitors from Another Service.

One of these:

  • The preview, or the result of the import, lists a monitor, heartbeat or bundle under skipped. Each skipped item has a reason, a message that says what was wrong with that item, and a helpUrl to its section below.
  • Importing was refused with details.rule set to import_preview_expired or import_preview_not_found.
reason or details.ruleSection
unsupported_kindThe monitor kind is not supported
invalidThe item is not valid
target_refusedThe target was refused
duplicate_existingYou already have this monitor
duplicate_in_fileThe file lists this monitor twice
plan_featureThe plan does not include this feature
over_limitA plan limit was reached
import_preview_expiredThe preview expired
import_preview_not_foundThe preview was not found

A refusal with a rule not in this table, such as read_only, is about the API key, not the import: see DownBad API Request Refused.

Each of these is DownBad applying a rule to one item of your file, or to the preview, not an outage. A skipped item is left out on its own: the rest of the import still goes through.

Find the item in your file. A skipped item’s index is its place in the file’s monitors or heartbeats list, counting from 0, and section says which list. Its name, kind and target are as the file gave them.

A skipped item with section set to bundles is a bundle, named by its domain, with no index. A new bundle is only created along with a monitor in it, so when every monitor for it is skipped on import, the bundle is skipped too. Its reason is its first monitor’s, and its message lists the monitors and, if they differ, every reason. Each monitor’s own section below says what to do; the bundle is created along with the first of its monitors that imports.

The item’s kind isn’t one DownBad imports. An import makes url, port, dns, ssl and whois monitors, and heartbeats. Keyword, ping and blocklist monitors from another service aren’t imported.

  1. If the item is a job that reports in on a schedule, such as a backup or a cron job, move it to the file’s heartbeats list with its name and schedule.

  2. If it’s a keyword check on a page, import it as a url monitor, then add a response rule for the word in DownBad.

  3. Otherwise, make it in DownBad by hand after the import.

The item is missing something it needs, or has a value DownBad can’t use. The message names the field. Common ones:

  • a url monitor’s target isn’t a full http:// or https:// address;
  • a port monitor has no port;
  • a dns, ssl or whois monitor’s target isn’t a domain name;
  • a heartbeat’s period is shorter than your plan allows.
  1. Fix the field the message names, in the file.

  2. Preview the file again.

DownBad doesn’t check this address. It refuses addresses inside private networks, such as 10.0.0.1 or localhost, and a few addresses it has been asked not to check. The message says which.

  1. If the address is only reachable inside your network, DownBad can’t check it from outside. Use a heartbeat that your server sends instead.

  2. If the address is public and you think the refusal is wrong, ask us through Contact Us with the address.

Your account already checks the same thing, so the import leaves it alone rather than make a second copy. existingMonitorId is the monitor you have. Two monitors are the same when they’re the same kind and point at the same place: for a url monitor, the same address with letter case, a default port and a lone trailing / ignored; for a heartbeat, the same name, in any case.

Nothing to fix. If you did want a second monitor, change its name or target in DownBad after the import.

Two items in the file check the same thing. The first is kept, and duplicateOfIndex is its index.

  1. Remove the later copy from the file, or change its target if it was meant to check something else.

The item uses something your plan doesn’t include, such as a heartbeat with a cron schedule. The message says what.

  1. Change the item to something your plan includes, such as an interval schedule, and preview again.

  2. Or upgrade at the address in the preview’s upgradeUrl, then preview again.

The import would take your account past a limit of its plan, such as its number of monitors (max_monitor_count), heartbeats (max_heartbeat_count) or bundles (max_bundle_count). The item’s limit names it as featureKey, the plan’s allowance as limit, how many your account had when the import started as current, and where to upgrade as upgradeUrl. Heartbeats are counted first, because each one also counts toward your monitors. Monitors are counted next, in the order the file lists them, so the first ones fit and the later ones are skipped.

A bundle past the limit is skipped too, and its monitors are still created, outside any bundle.

Intervals are different: a check interval shorter than your plan allows is raised to the plan’s shortest, not skipped, and the preview says so with intervalRaised.

  1. Put the monitors you care most about first in the file, and preview again.

  2. Or make room: delete monitors you no longer need, then preview again.

  3. Or upgrade at the address in upgradeUrl, then preview again.

A preview lasts one hour from its createdAt, and this one is older. Your account may have changed since, so DownBad won’t import it.

  1. Send the same file to POST /api/public/v1/import/preview again.

  2. Import the new previewId within the hour.

A preview that was already imported never expires this way: importing it again answers with what it created, with "replayed": true.

DownBad has no preview with this previewId in your account. Either the id was copied wrongly, the preview was made with a key for another account, or it expired more than a day ago and was removed.

  1. Check that the key you import with belongs to the same account as the key you previewed with.

  2. Preview the file again, and import the new previewId.

Preview the file again. The item is no longer in skipped, and it’s listed under monitors or heartbeats with "status": "create". After you import, it shows in Watching.

Before you ask for help, collect:

  • the previewId, and when you made the preview
  • the skipped item as the preview showed it: reason, message, name and target
  • the refusal your program showed, word for word, if importing was refused

Then send all of it to us through Contact Us.