The exception queue
Assignment Exceptions is where every record that could not be assigned ends up, with the reason and what to do about it.
It is a work queue, not an error log. Rows are meant to be worked and closed. It will not empty itself: an open row is never deleted, at any age, because a queue that quietly empties looks like a problem that went away.
How to work it
The useful first move is to filter by where the fix lives, because that decides who fixes it:
| Filter | Who fixes it | Categories |
|---|---|---|
| The record | Whoever owns the data | No geocode · Imprecise geocode · Assignee write failed · Manual assignment kept |
| The territory model | You, on the map | Outside every territory |
| Salesforce Setup | An admin | Callout credential not configured · Governor limit exceeded · Assignment could not be saved · No role holder |
| The GIS service | MapKraken Labs | Orphan territory model · Malformed intersection · Malformed response · Endpoint unreachable · Timeout · Service rejected |
"Show me everything I can fix without leaving Salesforce" is the Monday-morning question, and that is the first three rows.
The categories
Fix lives in the record
No geocode
The record has no billing latitude and longitude, so there was no point to test.
It is written only when a record was queued for assignment and had lost its coordinates by the time it ran. A record that never had coordinates is not listed here at all — it simply is not tried until it has some.
Do: fix the address, wait for it to geocode, then select the row and choose Re-run after a fix. This row does not clear itself: it is not retried, and the hourly check skips a record that already has a row here.
⚠️ Clean rules being off does not fill this queue — it leaves it silent. If nothing is assigned and the queue is empty, check clean rules.
Imprecise geocode
The address matched only to a city, county or postcode centroid. The record WAS assigned — but from a guessed position, and near a boundary a guess can be on the wrong side.
Do: check the address for a missing street or unit number. If the territory is right, resolve the row.
⚠️ This one does not block anything. It is a note about address quality. Coarse geocodes assigned before this feature existed too; making it a hard stop would un-assign records that are assigned today.
Assignee write failed
For an object set up to assign a person: the territory and the person were both found, but saving them onto the record was refused — usually a validation rule, one of your own triggers, or field-level security on the field the configuration names.
Do: read the reason and clear whatever blocked it. See Rows for objects other than accounts for how to try it again.
Manual assignment kept
The record's address moved, and it holds a territory or an owner that a person set, not Territory Mapper. Automatic assignment never removes or overwrites a hand-made assignment, so it was left in place. New in version 1.3.0 — see When a record's address changes.
Do: decide whether the hand-set territory or owner should stay. If it should, dismiss the row. If it should not, change or remove it on the record; Territory Mapper takes over from the record's next change.
⚠️ After an upgrade from an earlier version, expect some of these as records move. Territories assigned before 1.3.0 are treated as hand-made, because nothing recorded who set them.
Fix lives in the territory model
Outside every territory
The record geocoded fine and its point falls inside no territory. Nothing is wrong with this record. For an account, that means no territory in any model that has saved boundaries (or, if an Account row in Territory Object Config names a model, in that model); for another object, none in the model its configuration names.
Do: open Coverage gaps to see how many records share each uncovered area, extend or add a territory, then select the rows and choose Re-run after a fix. See Coverage gaps.
⚠️ Records in Alaska, Hawaii and the District of Columbia always land here today. The map's census geography does not include them yet, so no territory can cover them. Redrawing will not help; dismiss these rows with that reason until coverage is added.
⚠️ Editing a boundary does not re-assign anything by itself. That is exactly why Re-run after a fix exists — without it you could redraw a boundary perfectly and watch nothing happen.
Fix lives in Salesforce Setup
Callout credential not configured
This org is not yet connected to the map service, so the request was refused before it could do anything — or the user or scheduled job that made it cannot use the KoopGIS credential.
This is the state every new installation starts in. A queue full of these on day one is expected.
⚠️ The same label is used for a different problem. If the record is not an Account and the reason text mentions coordinate pairs or coordinate fields, the credential is fine. The object's configuration names no coordinate pair, or names one that does not exist. Fix it on the object's configuration record — see Which coordinates it uses.
Do: open the Territory Mapper Setup tab and use Register this org (setup step 2). There is no token to paste. Then grant users the credential through a permission set of your own — the second step is the one people miss (Setting up the org). Opening this tab as an administrator also re-registers the scheduled job if it is broken; a green Retry job re-registered message confirms it. A yellow banner with Re-register as me means that did not succeed — press it (step 9).
These rows then drain on their own, about 25 an hour, once the org is connected. Re-run after a fix does it now.
For objects other than accounts, this category can also mean the object's configuration no longer matches the object — a renamed field, or no territory or assignee field set. The reason text says which.
Governor limit exceeded
The batch hit a Salesforce limit and stopped. The record is fine.
Do: nothing. Retried automatically. If it keeps happening, something else in the org is consuming the same limit.
Assignment could not be saved
The territory was found, but Salesforce refused to save the association — a validation rule, a sharing restriction, or a territory rule blocking the combination.
Do: read the reason, which carries Salesforce's own message, and clear whatever blocked it. Retried automatically, so a fix is picked up without further action. (On the failure record itself, and in reports, this category is labelled Association could not be saved.)
No role holder
For an object set up to assign a person: the record's location resolved to a territory, but nobody in that territory holds the role the object's configuration assigns to. The geography is right; there is no one to hand the record to.
Do: add someone with that role to the territory — see People, roles and assignment. Not retried automatically.
Fix lives in the GIS service
Orphan territory model
The service returned territories from a model this org no longer has — its boundaries are held for a model that was deleted here.
🔴 Do not redraw anything. The boundaries are correct. The service is holding a stale copy of a deleted model.
Do: contact MapKraken Labs to reconcile the service against your org, then Re-run after a fix.
This is never a coverage gap, and the distinction matters more than it sounds. A coverage gap is a defect in your map. An orphan model is a defect in the service, where the boundaries are already right. Treating the second as the first sends you to redraw a map that is correct. The product keeps them apart deliberately, and a test fails if it ever stops doing so.
Malformed intersection entry
One entry in an otherwise valid response was unreadable and was skipped. The record may be assigned to some of its territories and not all.
Do: check the record's assignments against the map. Re-run if any are missing; resolve if complete.
Malformed response
The service answered but the body was not readable.
Do: nothing at first — retried automatically. If rows keep arriving, the reason text holds the unparseable response; send it to MapKraken Labs.
Endpoint unreachable
The callout did not connect: DNS, TLS, or the service being down.
Do: nothing at first — retried automatically. Still failing hours later means checking that the KoopGIS credential's URL resolves and the service is running.
Timeout
The service did not answer in time. Reachable but slow.
Do: nothing — retried automatically. A steady stream means the service needs capacity, not that your records are wrong.
Service rejected the request
The service answered and refused. The reason text holds what it said.
Do: read the reason. Retried automatically; if every attempt is refused identically, that message is what MapKraken Labs needs.
Retrying
Seven categories retry themselves: endpoint unreachable, timeout, malformed response, service rejected, governor limit exceeded, assignment could not be saved, and assignee write failed. An hourly job retries them with growing gaps — at least 5, 10, 20, then 40 minutes, and in practice the next top of the hour after that. A fifth failed attempt becomes Permanently failed — shown as Gave up in the queue's Status column, as Retrying is shown while a retry is scheduled; a retrying row whose record has been deleted is closed the same way by the hourly job.
You do not have to do anything for a transient failure on an account to recover.
The other eight need a person first — six that block the assignment, and two notes (Imprecise geocode, Malformed intersection entry) that only ask you to check the record.
The two buttons
| Button | Offered when | Means |
|---|---|---|
| Retry now | Every selected row is retryable, open, and its record still exists | "Try the same thing again immediately." |
| Re-run after a fix | Every selected row's record still exists — open or closed | "I have changed something. Reconsider these records now." A closed row is reopened, and the reopen is noted on it |
They are two buttons on purpose. A single "Retry" on NOT_CONFIGURED would be worse than no button, because it implies the problem might go away on its own. It will not — the credential has to be configured. Retry now refuses those rows and tells you the actual next step instead.
Both work on one row or on a selection, capped at 200 rows per pass.
Anyone with Territory Mapper access can view and filter the queue; Retry now, Re-run after a fix, Resolve and Dismiss need the Administrator permission set.
Closing a row
| Status | Use it when |
|---|---|
| Resolved | The underlying problem is fixed |
| Dismissed | The failure is understood and no assignment is expected — a record genuinely outside your service area |
A reason is required for both. A queue whose rows can be cleared without saying why answers "did anyone look at this?" with silence, and that is the question an auditor asks about it.
**Permanently failed (Gave up) is not a button.** It is what the retry driver concludes after five attempts. If you want that outcome, dismiss the row and say why.
Rows for accounts also close themselves: when a later attempt assigns the account, every open row for it is closed automatically — except the notes (IMPRECISE_GEOCODE, MALFORMED_INTERSECTION), which were never what stood in the way. Rows for other objects do not; see below.
Records that were deleted
The failure history outlives the record. Those rows show as <id> (record deleted) and cannot be retried — there is nothing left to assign. They stay visible rather than vanishing, which is why the queue is keyed on the source record id rather than on a lookup.
Rows for objects other than accounts
⚠️ A known defect, stated so you are not surprised by it. Rows for any object other than Account currently show as <id> (record deleted) even when the record exists. Retry now and Re-run after a fix cannot act on them — the queue checks for the record through the account link, which those rows do not carry. Rows in the seven retrying categories close on their own once the record is assigned on a later pass; the others stay open until you close them. Use Resolve, not Dismiss: a dismissed row keeps that record out of the hourly check for good.
Until it is fixed: clear the cause, then Resolve the row. If the record still has no territory, the hourly check picks it up again within the hour.
How long rows are kept
- A closed row is deleted 90 days after its last activity. For a row a person resolved or dismissed, that is the day they closed it, so a row resolved on its 89th day does not disappear the next morning taking its resolution note with it. ⚠️ For a row that closed itself — assigned on a later attempt, or permanently failed — the clock runs from its last failed attempt, so an old row can be purged soon after it closes.
- An open row is never deleted, at any age.
- Deletion is permanent — the rows are purged from the recycle bin in the same pass and cannot be restored.
What a row contains: the record's id and object, the failure category, the service's error text, the record's latitude, longitude and geocode accuracy, a territory model id, and a correlation id. No name, no address, and no account field other than the coordinates already on the record.
Last verified: 2026-11-07 · Owner: MapKraken Labs LLC
Something on this page wrong, or a setup step missing? That is a documentation defect and we want it — tell us and this is the page that gets fixed.