DOCUMENTATION · ERRORS
Error codes
Every error response carries a code in its error field, and most a request_id. Branch on the code, not on the HTTP status alone. Quote the request_id (or the X-Request-ID header) when reporting a problem.
Contents
In short
| HTTP | Meaning |
|---|---|
| 400 | Invalid input, unknown section, or a cursor that does not belong to this address and section. |
| 401 | No credential, or one that could not be verified. |
| 402 | The account request allowance is exhausted. Review the allowance or top up in your account; retrying immediately does not restore it. |
| 403 | Authenticated, but without an active address grant — or a section this credential is not granted. |
| 404 | No address matches. |
| 409 | The address matched more than one record. The candidates are returned; choose one and resolve by address_id. |
| 429 | Rate limit exceeded. Retry-After gives the wait in seconds. |
| 503 | The address register itself could not be read. Distinct from a section being unavailable. |
A 401 has error "invalid_api_key" and a reason field saying why, or "authentication_required" when no key was sent. Until 6 October 2026 error read "Invalid API key" and "Authentication required". A valid key called from an address outside its IP allowlist gets 403 "ip_not_allowlisted" (until 13 October 2026 it was a 401 with reason "ip_not_allowlisted"). The codes themselves are in English, as the API writes them.
400 Bad request
address_id_required
GET /api/v1/companies lists the companies at one address and needs address_id.
What to do: Send address_id from the Address API, or use /search.
address_ids_required
address_ids is missing or empty.
What to do: Send at least one address id.
address_string_not_exact
In a batch line: the address string is not street, number, optional letter and a four-digit postcode, so it cannot be matched exactly.
What to do: Add the postcode, or find the address with /search and send its address_id.
as_of_in_the_future
as_of is after today. A vintage that has not happened cannot be reproduced.
What to do: Send a date up to today.
as_of_must_be_a_date
as_of is not a calendar date.
What to do: Send as_of=YYYY-MM-DD.
batch_request_invalid
The batch body is not one JSON object with ids or addresses (not both), or carries an unknown field.
What to do: Send {"ids": [...]} or {"addresses": [...]}, with sections or package; hint shows the shape.
batch_too_large
The batch names more than 500 addresses. maximum and items carry the numbers.
What to do: Split it into batches of at most 500, or run a data product over an address_list.
choose_municipality_code_or_name
municipality_code and municipality were both sent.
What to do: Send one of them.
conflicting_postcodes
q contains a postcode that differs from the postal_code filter.
What to do: Remove one of the postcodes.
cursor_and_since_are_exclusive
/changes takes either a cursor or since, not both.
What to do: Send since for the first page and the returned cursor for the rest.
cursor_and_updated_since_are_exclusive
/records takes either a cursor or updated_since, not both.
What to do: Send updated_since for the first page and the returned cursor for the rest.
cursor_requires_full_field_policy
A cursor was sent on a profile read under the public projection, which shows the first records of each list and no more.
What to do: Drop the cursor, or page with a key whose grant has the full field policy.
cursor_requires_section_endpoint
cursor was sent to the whole-address route, which does not paginate.
What to do: Page with /{address_id}/sections/{section}.
document_subject_required
A document is served through the dossier of an address, and no subject was given.
What to do: Pass subject=<address id> of an address you looked up, whose dossier lists the document.
email_recipients_required
An email mode was chosen with no recipients.
What to do: Send email_recipients, or turn the email mode off.
fields_with_summary
fields and format=summary were sent together; a summary has no records to cut.
What to do: Send one of them.
format_must_be_json_or_csv
format is not json or csv.
What to do: Send format=json or format=csv.
format_must_be_parquet_or_csv
format is not parquet or csv.
What to do: Send format=parquet or format=csv.
geo_codes_span_levels
The geo codes sent belong to more than one level (kommune and fylke, for instance).
What to do: Send one geography level per request.
geo_required
The series is published per geography and neither geo nor level was sent. geo_levels lists what it has.
What to do: Send geo=<code> or level=<one of geo_levels>.
horizon_must_be_1_to_24
horizon on the building cost forecast is not a whole number of months from 1 to 24.
What to do: Send horizon=1..24, or omit it for 12.
include_is_empty
include was sent with no section or group in it.
What to do: Name at least one section or group, or leave include out.
invalid_address_id
address_id is not 1 to 18 digits.
What to do: Use an address_id from /search or /resolve.
invalid_bbox
bbox must be min_lon,min_lat,max_lon,max_lat in WGS84, inside Norway, at most 0.5 by 0.5 degrees, and not combined with lat, lon and radius_m.
What to do: Send four numbers in that order, or use lat, lon and radius_m instead.
invalid_building_type
building_type on the building cost forecast is not one the forecast publishes. allowed lists them.
What to do: Send building_type=enebolig_tre or boligblokk, or omit it for enebolig_tre.
invalid_cost_request
The benchmark query (type, kommune, bra) or the estimate body is malformed; detail says what.
What to do: Fix the request as detail says; /api/v1/benchmarks/openapi.json has the schema.
invalid_cross_reference_identity
The bounded Geonorge identity body is invalid or contains unsupported fields.
What to do: Send exact official identity components in the geonorge namespace, not a label, coordinate or customer identifier.
invalid_cursor
The cursor is malformed, or belongs to another address, section or property.
What to do: Send the next_cursor from the previous response with the same filters.
invalid_datakilde_channel
The release channel is malformed or repeated. Nothing was counted.
What to do: Use one stable or preview header.
invalid_datakilde_version
The Datakilde-Version header is not a calendar date (YYYY-MM-DD). Nothing was counted.
What to do: Send a date such as 2026-10-14, or leave the header out for the latest contract.
invalid_delivery
The delivery id is not a UUID.
What to do: Use an id from GET /watchlist/deliveries.
invalid_demo_address
The demo address id is not a number.
What to do: Use an address_id from the demo search.
invalid_demo_request
The demo does not take this request. Economy demo: an unknown parameter or a span over 30 years. Assistant: a body that is not JSON, a message under 2 or over 500 characters, a use_case under 8, or an address_id that is not digits.
What to do: Narrow the request, or use the API with a key.
invalid_demo_search
The demo search text is too short or too long.
What to do: Send 2 to 160 characters.
invalid_document_original
document_id is not a municipal/<kommune>/<key> identity, or subject is malformed.
What to do: Use a document_id from the dossier and the address id as subject.
invalid_documents_catalog
kommune is not a four-digit kommune code, family is not a known document family, limit is outside 1 to 25, cursor is not one this API issued, or a parameter was repeated or unknown.
What to do: Use kommune=0301, a family id from result.families, and a limit from 1 to 25. Pass next_cursor back unchanged.
invalid_documents_coverage
kommune is missing or is not a four-digit kommune code, family is not a known document family, or a parameter was repeated or unknown.
What to do: Pass kommune=0301 and, optionally, a family id from the catalogue.
invalid_email_locale
email_locale is not nb or en.
What to do: Send email_locale=nb or en.
invalid_email_mode
email_mode is not off, immediate or daily.
What to do: Send off, immediate or daily.
invalid_email_recipients
email_recipients is not a list of at most max valid addresses.
What to do: Send up to ten addresses.
invalid_employees_min
employees_min is not a whole number of zero or more.
What to do: Send a non-negative integer.
invalid_event_types
An event type is not one the feed offers. event_types_available lists them.
What to do: Send types from event_types_available.
invalid_field_selection
A fields entry is not section.field, names an unknown section, or names a field the section's contract does not have. value is the entry and hint says which.
What to do: Read the section's fields in /catalog and send section.field pairs, comma-separated.
invalid_format
format is not full or summary.
What to do: Send format=summary, or leave it out for the full answer.
invalid_geo_code
A geo code is not a region code this series knows. geo names it.
What to do: Resolve a name to a code with /api/v1/regions/resolve?q=.
invalid_ground_relationship
The NADAG parent kind, exact source ID, snapshot or continuation is invalid.
What to do: Supply a supported parent kind and exact source UUID. Continuations require both snapshot_id and after_context_id.
invalid_guidance_identity
The guidance family, paragraph or revision is invalid.
What to do: Use document_id=dibk/TEK17 or dibk/SAK10, an exact paragraph and an optional lowercase revision hash.
invalid_history_request
from or to is not YYYY or YYYY-MM, from is after to, or format is not json or csv.
What to do: Correct the period or format; hint repeats the rule.
invalid_house_number_or_letter
The house number or letter in q cannot be read.
What to do: Write the address as street, number and letter, e.g. Storgata 12A.
invalid_idempotency_key
The Idempotency-Key header is longer than 255 characters or holds characters outside printable ASCII.
What to do: Send a UUID or another printable key of at most 255 characters.
invalid_json
The request body is not JSON of the documented shape.
What to do: Send a JSON object, e.g. {"address_ids": ["12345"]}.
invalid_limit
Every limit or page-size parameter outside its range: parameter names it, minimum and maximum give the range (the cap table in the reference lists them per route). From contract 2026-10-14 on addresses, companies (lookups, name search, profile) and regions; from 2026-10-20 on company filter search, address and company watch, datasets and the regulation routes too, which clamped or used their own code before. A request pinned to 2026-10-01 still receives limit_must_be_1_to_100 or limit_must_be_1_to_20 on the address routes, and a request pinned before a route took the rule is clamped as it was.
What to do: Send a value between minimum and maximum.
invalid_matrikkelenhet_id
matrikkelenhet_id is not 1 to 18 digits.
What to do: Use the matrikkelenhet_id from a property response.
invalid_meta
meta is not full or compact. Companies also read true and false as aliases of full and compact. Companies answered meta_must_be_true_or_false before contract 2026-10-20.
What to do: Use meta=full or meta=compact.
invalid_model_demo_request
The public demo accepts only {model, subject:{address_id}} for a reviewed public model.
What to do: Choose an available public demo model and address; versions, options, point coordinates and credentials are not accepted.
invalid_municipality
municipality is shorter than 2 or longer than 100 characters.
What to do: Send the start of a municipality name.
invalid_municipality_code
municipality_code is not four digits (the opportunities pilot, and the company filter search).
What to do: Send four digits, e.g. 0301.
invalid_nace
nace is not a NACE code: two digits, optionally a dot and one to three more (41, 41.2, 41.200).
What to do: Send a NACE division, group or subclass.
invalid_noise_selector
The noise selector is invalid, unsupported or differs from the admitted selector.
What to do: Send the exact supported bounded selector without query parameters.
invalid_offset
offset is not a whole number from 0 to 1000.
What to do: Narrow the filters instead of paging past 1000.
invalid_org_form
org_form is not an organisasjonsform code (AS, ASA, NUF, SA, ...).
What to do: Send the register's form code in capitals.
invalid_page
offset or limit is outside the job result's range.
What to do: hint gives the accepted range.
invalid_parameter
A parameter value is not one the product accepts. parameter and allowed say which.
What to do: Use one of the allowed values.
invalid_period_window
from or to is not a period (YYYY, YYYY-Qn, YYYY-MM, YYYY-Www or YYYY-MM-DD), or from is after to.
What to do: Send both as periods of the series' own grain, from not after to.
invalid_point_or_radius
lat, lon and radius_m must come together: a point in Norway (WGS84) and a radius of 1 to 5000 metres. On region resolve, lat and lon alone.
What to do: Send all three, with radius_m at most 5000 (lat and lon for region resolve).
invalid_postcode_or_municipality_code
postal_code or municipality_code is not four digits.
What to do: Send four digits, e.g. 0155 or 0301.
invalid_prediction_request
The prediction body is not {model, version?, subject, options?}, the subject is neither an address id nor an EPSG:25833 point in Norway, or the model refused an option.
What to do: Fix the request; detail names the problem.
invalid_regulation_catalog_page
The regulation catalog page size or cursor is invalid.
What to do: Use limit 1–200 and the unmodified next_cursor. Keep its page size.
invalid_regulation_changes
The regulation change-feed document, position or page size is invalid.
What to do: Use a canonical permitted document, after=0 or a previously returned event ID for that document, and limit 1–100, each once.
invalid_regulation_history_page
The observed revision document, page size or continuation cursor is invalid.
What to do: Use one canonical document ID, limit 1–100 and an unchanged cursor for that document and page size.
invalid_regulation_identity
The canonical document, paragraph reference or revision hash is invalid.
What to do: Use a canonical NL/SF identity, a paragraph beginning with § and an optional 64-character lowercase revision hash.
invalid_regulation_search
The regulation search document, text query, revision or hit limit is invalid.
What to do: Use a canonical document ID, nonempty UTF-8 query of at most 512 characters, optional revision hash and limit 1–20, each once.
invalid_request_body
The body is not valid JSON in the run shape. hint shows an example.
What to do: Send {"subject": {...}, "parameters": {...}}.
invalid_search
q is shorter than 2 or longer than 160 characters, or cannot be read as an address.
What to do: Send at least 2 characters, or a geographic filter instead.
invalid_search_format
format is json or geojson, and geojson needs a placed search: lat, lon and radius_m, or bbox.
What to do: Leave format out, or add a point or a box.
invalid_since
since is not an RFC 3339 timestamp.
What to do: Send since=2026-09-30T05:30:00Z.
invalid_status
status is not accepted by this route: companies accept aktiv, konkurs, avvikling, tvangsavvikling or slettet; watch deliveries accept pending, sent, failed or abandoned.
What to do: Send a status accepted by the route, or leave status out.
invalid_subject
The subject's type or id is not valid for its kind (address list size, distinct ids, code format).
What to do: hint says what was expected.
invalid_updated_since
updated_since is not an RFC 3339 timestamp.
What to do: Send updated_since=2026-09-30T05:30:00Z.
invalid_version
version is not a positive integer.
What to do: Omit version for the newest, or send one from the product's contract.
label_too_long
label is longer than 200 characters.
What to do: Shorten the label.
level_not_published
The series is not published at the requested geography level. geo_levels lists the levels it has.
What to do: Ask for one of geo_levels.
limit_must_be_1_to_100
Contract 2026-10-01 only (pinned requests): limit is outside 1 to 100. From 2026-10-14 the code is invalid_limit.
What to do: Send a limit between 1 and 100.
limit_must_be_1_to_20
Contract 2026-10-01 only (pinned requests): limit on /search is outside 1 to 20. From 2026-10-14 the code is invalid_limit.
What to do: Send a limit between 1 and 20, and narrow the query when has_more is true.
location_must_be_lat_lon
The location id or the lat/lon parameters are not WGS84 decimal degrees written as lat,lon.
What to do: Send e.g. 58.94,11.17: latitude first, then longitude.
location_outside_sweden
The point lies outside the box around Sweden (55.0–69.2 N, 10.5–24.3 E); often latitude and longitude are swapped.
What to do: Check the order: latitude first. Norwegian addresses use the Address API.
meta_must_be_true_or_false
Contract before 2026-10-20 only (pinned requests): meta on a company route was given a value other than true or false. From 2026-10-20 the code is invalid_meta.
What to do: Send meta=full or meta=compact (or true or false), or leave it out.
municipal_project_area_invalid
The supplied returned area is not a valid polygon for horizontal plan-boundary screening.
What to do: Supply a valid EPSG:25833 polygon or multipolygon; no geometry was repaired and no unit was consumed.
municipality_must_be_four_digits
municipality is not a four-digit municipality code.
What to do: Send a code such as 0301.
nearest_needs_lat_lon_or_easting_northing
/nearest needs a point: lat and lon (WGS84), or easting and northing (EPSG:25833), as decimal numbers, and not both pairs.
What to do: Send lat=59.91&lon=10.75, or easting=262000&northing=6650000.
no_such_section_in_demo
The section is not part of the public demo.
What to do: Read the section with a key, or choose one the demo publishes.
no_valid_org_numbers
None of the organisation numbers is valid. invalid lists them.
What to do: Send nine-digit organisation numbers.
observation_range_invalid
from or to is not an RFC 3339 instant or a date, from is not before to, or a profile was combined with grain, from or to. parameter and hint say which.
What to do: Correct the window; a profile takes none of grain, from and to.
observation_range_too_large
The window holds more points than one call returns (limit, 10 000). Refused before anything was read or counted.
What to do: Narrow from/to or read a coarser grain; for bulk, use /api/v1/series or data products (hint).
observation_variable_unknown
The variable is not one the observations route serves. allowed lists them.
What to do: Use a variable from /api/v1/addresses/observations/catalog.
org_numbers_required
The request named no organisation numbers (or more than max in one call).
What to do: Send org_numbers: a list of nine-digit numbers, at most max per call.
organisasjonsnummer_must_be_nine_digits
The id is not a nine-digit organisasjonsnummer.
What to do: Send the nine digits without spaces.
package_cannot_be_combined_with_include_or_section
package selects a preset of sections and cannot be combined with sections, include or a section path.
What to do: Send either package or sections.
point_outside_norway
The point lies outside Norway, or latitude and longitude are swapped.
What to do: Send latitude first (57 to 72), longitude second (3 to 32), or EPSG:25833 metres inside Norway.
provide_address_id_or_exact_street_number_letter_postcode
/resolve takes either address_id, or street_name, house_number and postal_code (and letter if there is one). Not both, and not free text.
What to do: Use /search for free text, then resolve the chosen address_id.
provide_municipality_gnr_bnr
/properties needs municipality_code, gnr and bnr.
What to do: Send all three.
provide_search_or_geographic_filter
Neither q nor a postal_code, municipality_code or municipality filter was sent.
What to do: Send q or a filter.
q_must_be_a_region_name_or_code
q is empty, or neither a region name nor a code.
What to do: Send a kommune or fylke name, or its code.
q_must_be_at_least_two_characters
The search text q is shorter than two characters.
What to do: Send at least two characters of the company name.
query_too_long
On the opportunities pilot (GET /api/v1/opportunities): q is longer than 100 characters. parameter and maximum say which and how many.
What to do: Send at most 100 characters.
radius_m_must_be_1_to_1000
radius_m on /nearest is outside 1 to 1000 metres.
What to do: Send a whole number of metres between 1 and 1000; the default is 100.
radius_m_must_be_50_to_1000
radius_m on a watch is outside 50 to 1000 metres.
What to do: Send whole metres between 50 and 1000; the default is 500.
region_code_must_be_two_or_four_digits
A region code is a two-digit fylke or a four-digit kommune number.
What to do: Resolve a name first at /api/v1/regions/resolve?q=.
repeated_section
A section is named twice in sections or include. section names it.
What to do: Name each section once.
request_body_unreadable
The request body could not be read (too large for this route, or the connection dropped).
What to do: Send a smaller body.
sections_and_include_cannot_be_combined
include is an alias of sections on the address API, and both were sent.
What to do: Send sections (or its alias include), not both.
sections_not_supported_on_profile
The profile is narrowed by group with package=, not by sections=.
What to do: Use package=<group>[,<group>], or read one section from /{id}/sections/{section}.
since_must_be_rfc3339
since is not an RFC 3339 timestamp.
What to do: Send since=2026-10-01T00:00:00Z.
since_or_cursor_required
/changes needs since or a cursor. hint says what since should be.
What to do: Send since= the watermark of your last completed records sync.
source_cursor_requires_matrikkelenhet_id
A cursor from a source-checked property page was sent without the matrikkelenhet_id it belongs to.
What to do: Send the matrikkelenhet_id with the cursor.
subject_not_supported
The product does not answer for this subject type. supported lists the ones it does.
What to do: Use a supported subject type.
too_many_address_ids
More than 100 address ids in one request. maximum gives the bound.
What to do: Split the list into requests of at most 100.
too_many_geo_codes
More geo codes than one request may name. max says how many.
What to do: Omit geo and pass level= to read every code at that level, or split the request.
unknown_coverage_source
source is not a source the coverage route reports on. allowed lists the ids: the ones the section warnings cite as "GET /coverage, source <id>".
What to do: Send one of the ids in allowed, or leave source out for the hazard layers.
unknown_group
From contract 2026-10-14: package names a profile group that does not exist. group names it. Pinned to 2026-10-01 the code is unknown_group:<group>.
What to do: Use a group id from the profile catalogue.
unknown_package
package is not one of the packages in /catalog.
What to do: Use a package id from the reference or /catalog, or package=all.
unknown_page
From contract 2026-10-14: a cursor or limit names a page the profile does not have, or one outside the groups asked for. page names it. Pinned to 2026-10-01 the code is unknown_page:<page>.
What to do: Use a page the profile lists in its catalogue, within the package asked for.
unknown_parameter
The product does not take this parameter.
What to do: Remove it; the product's contract lists its parameters.
unknown_section
A section in sections, include or the path is not in the catalogue. section names it.
What to do: Use a section id from /catalog.
unknown_subfield
From contract 2026-10-14: package names group.subfield, and the group has no such subfield. group names the item. Pinned to 2026-10-01 the code is unknown_subfield:<group.subfield>.
What to do: Use a subfield the profile catalogue lists for the group.
unsupported_demo_parameter
The demo does not take this parameter.
What to do: The demo takes only the parameters shown in its examples; the keyed API takes the rest.
unsupported_or_repeated_parameter
A query parameter is not accepted by this route, or was sent twice. parameter names it.
What to do: Remove or de-duplicate the parameter. Each route's table lists what it accepts.
unsupported_region_id
The region id is not two digits (fylke), four (kommune), eight (grunnkrets) or postnummer:NNNN; children are listed for a fylke or a kommune only.
What to do: Send an id of a supported level, or resolve a name first.
webhook_address_not_public
The webhook host resolves to a private, loopback or otherwise non-public address, which Datakilde never calls.
What to do: Use a publicly reachable host.
webhook_host_not_resolvable
The webhook host does not resolve.
What to do: Fix the DNS name or use another host.
webhook_not_configured
The test or retry needs a webhook and none is set.
What to do: Set webhook_url in the settings first.
webhook_port_not_allowed
webhook_url names a port other than 443 or 8443.
What to do: Serve the webhook on port 443 or 8443.
webhook_url_invalid
webhook_url is not a URL we can deliver to.
What to do: Send an absolute https URL.
webhook_url_must_be_https
webhook_url is not https.
What to do: Use an https URL.
webhook_url_too_long
webhook_url is longer than 2 000 characters.
What to do: Use a shorter URL.
401 The key was not accepted
authentication_required
No credential was sent. methods lists what is accepted.
What to do: Send the key in the X-API-Key header, or as Authorization: Bearer apr_… .
cross_reference_credential_required
An authenticated customer credential is required for identity cross-reference.
What to do: Use your own active customer key; anonymous compatibility access is not supported.
reason: expired
The key's own expiry date has passed. A key can expire before the account's access does. A key chosen by id in the signed-in API tester answers 403 selected_key_unavailable with this reason instead.
What to do: Create a new key on the account page and deploy it.
internal_token_invalid
X-Internal-Token was sent and did not verify: bad signature, wrong issuer or audience, expired, or sent from outside Approach's network. Only Approach's own products send this header; it never falls back to key authentication.
What to do: Customers: remove the X-Internal-Token header and send your API key. Approach services: mint a fresh token for the address-api audience.
invalid_api_key
A key or token was sent and not accepted. reason says why; each reason is listed below under 401.
What to do: Act on reason: the codes below name the cause and the fix.
reason: key_credit_budget_exhausted
The key's own credit budget is spent. A key chosen by id in the signed-in API tester answers 403 selected_key_unavailable with this reason instead.
What to do: Raise or remove the key's budget, or use another key.
reason: not_found
No key with this value exists.
What to do: Check that the whole key was copied. A key that was never shown in full cannot be recovered; create a new one on the account page.
reason: revoked
The key has been revoked, by you or by rotation. A key chosen by id in the signed-in API tester answers 403 selected_key_unavailable with this reason instead.
What to do: Use the key that replaced it, or create a new one on the account page.
reason: unknown_key_format
The value sent is not a Datakilde API key (keys start with apr_) nor, in Authorization, a session token: a key with a typo, another service's key or a scheme other than Bearer. methods lists the accepted forms.
What to do: Send the key exactly as it was shown when it was created, in the X-API-Key header or as Authorization: Bearer apr_… .
402 Allowance or plan missing
allowance_exceeded
A data-product run needs more of the allowance than is left. estimate says what the run would cost.
What to do: Narrow the run or top up. Nothing was charged.
balance_insufficient
The prepaid balance cannot cover the listing run; no data or seller usage was published.
What to do: Top up before retrying.
data_product_agreement_required
On an agreed plan (subscription, free or test) data products are sold only under a data-product agreement with an agreed price, and the subscription has none that covers this product. Nothing was run or counted; the estimate is in the body.
What to do: Contact Approach to add data products to the agreement. Trial and prepaid accounts buy data-product units on the account page instead.
monthly_safety_cap_reached
An agreed plan's monthly safety cap is reached. Repeat lookups of an address already counted today are still served.
What to do: Wait for resets_at (the first of next month, Oslo time) or contact us to raise the cap.
product_plan_required
The customer's Datakilde subscription does not include this API capability.
What to do: Check Datakilde access in the account page and contact us to enable the capability.
regulation_allowance_expired
The configured regulation allowance period has ended.
What to do: Ask the customer administrator to renew the allowance; it does not reset automatically.
request_allowance_exhausted
The account's allowance is used up, or a prepaid period has ended. The body says which (prepaid_expired) and links to the account page (top_up).
What to do: Buy a bundle or top up on the account page. Retrying does not restore the allowance.
request_allowance_insufficient
A request priced by size needs more units than the allowance has left. Nothing was charged; the body gives required_units and available_units.
What to do: Narrow the request or top up.
test_daily_cap_reached
Test lookups (from the signed-in playground or a test key) are free up to a daily number of new subjects, and today's are used. Repeat lookups of a subject already fetched today, and the free routes, are still served. The body includes cap, used and resets_at; Retry-After gives seconds until reset.
What to do: Wait for resets_at (midnight, Oslo time), or call with a production key.
test_monthly_cap_reached
The effective monthly test allowance or agreed test-lookup cap is reached. New test subjects are refused; the response includes resets_at and Retry-After. Repeat lookups already counted today still work.
What to do: Wait for the next Oslo month or ask the customer administrator about additional test capacity. A purchase is available only if the account page offers one.
403 Not permitted
active_partner_grant_required
The credential has no active access: its agreement expired or was withdrawn, its owner is no longer a member, or the agreement ended before an admitted lookup could settle. Nothing was served or counted.
What to do: Check current account access and use a key issued for that agreement. Contact Approach if access needs renewal.
address_details_not_granted
Property discovery needs the address_details section, which this key is not granted.
What to do: Ask for address_details to be added.
address_endpoint_not_allowed
The access does not include this endpoint (for example history, series, datasets or data products).
What to do: Ask us to add the endpoint. /access lists the endpoints a key can call.
admin_mode_key_revoked
The issuer of this internal test key no longer has administrator rights.
What to do: Ask a current Approach administrator to issue a new test key.
approved_address_access_required
The credential is not a production Datakilde key: for example a Data Market key or a key with other scopes.
What to do: Use a key created on the Datakilde account page.
buildings_not_granted
A full property identity (fnr, snr or matrikkelenhet_id) needs the buildings section, which requires a separate agreement.
What to do: Search by municipality_code, gnr and bnr only, or contact us about the agreement.
cross_reference_not_granted
Identity cross-reference requires resolve permission, full field policy, and the named address_cross_reference source-agreement item.
What to do: Inspect the current credential's effective access; a wildcard address grant or public-demo projection cannot use this operation.
customer_not_member
The signed-in person is not a member of the customer named by this request.
What to do: Choose a customer you belong to or ask its owner for an invitation.
reason: customer_required
A selected key needs an explicit customer organisation.
What to do: Select the customer before using the key.
customer_role_cannot_use_subscription
The signed-in person is a member of the customer, but their role (member or billing) may not make calls on its subscription without a key. Only owners, administrators and developers may. Nothing was served or counted.
What to do: Call with a key from an owner, administrator or developer, or ask the customer's owner for the developer role.
data_product_not_granted
The grant lacks sections the data product composes, or its field policy cannot serve an aggregate.
What to do: The body lists what is missing. Ask for those sections.
dataset_not_granted
The key may call the datasets API but not this dataset. grant_section names the grant item it needs.
What to do: Ask for the dataset to be added to the agreement.
document_dossier_not_bound
The subject was not looked up by this subscription in the last 30 days, or the document is not in its dossier.
What to do: Look the address up first, list its documents, then request a document from that list.
document_not_entitled
The credential's grant does not name documents/<kommune>/<family> for this document.
What to do: Ask the customer administrator to add the kommune and family to the documents entitlement; wildcards never open municipal documents.
exposure_metric_location_sensitive
The metric's section is location sensitive. This route never serves a location-sensitive section.
What to do: Read it through its own reviewed section route if your agreement allows it.
exposure_section_not_granted
The key may call the exposure route, but not the section behind a metric (section names it: exposure_catchment for catchment, traffic_exposure for traffic and for azimuth=frontage). Refused before anything was read or counted.
What to do: Ask for the section. The route never opens what the profile keeps closed.
geotechnical_metadata_not_allowed
The current grant does not include full geotechnical borehole metadata.
What to do: Use an active customer/key with geotechnical_boreholes and full field policy. Address membership or dataset access alone does not grant this projection.
guidance_rights_not_qualified
Stored guidance reuse evidence is not qualified for distribution.
What to do: Ask the source operator to review publisher evidence; customer entitlement does not override source rights.
history_sections_not_allowed
The history endpoint is allowed, but none of the profile sections it exports are granted to this key.
What to do: Ask for the profile sections the history should cover.
internal_product_not_allowed
A verified internal token was sent without X-Product, or with a product that may not call Datakilde. allowed lists the products that may.
What to do: Send X-Product with one of the allowed products.
reason: invalid_key_id
The selected key identifier is malformed.
What to do: Choose a key from the account list.
reason: ip_allowlisted_key_requires_direct_call
The browser proxy cannot prove the originating IP for this key's allowlist.
What to do: Test the key directly from an allowed network.
ip_not_allowlisted
The key is valid but restricted to an IP allowlist, and the request came from an address outside it. client_ip is the address the API saw. Nothing was counted or billed.
What to do: Call from an allowed address, or add this address or its range to the key's IP allowlist on the account page (Keys, IP allowlist). Changes apply within about 15 seconds.
job_access_revoked
A completed job no longer fits the current data-product, section or field-policy grant. Cached results are not reprojected after access narrows. The job's status and result routes both answer 403; the job list leaves the job out and counts it under withheld. A job whose product version is retired answers 410 data_product_version_retired instead.
What to do: Ask an administrator to review the current agreement, or start a new job under the current grant.
job_owner_unknown
The job cannot be tied to an organisation the caller acts for.
What to do: Read the job with a key from the organisation that started it.
reason: key_not_owned_by_customer
The selected key does not belong to this signed-in user and customer.
What to do: Choose one of your own keys for the selected customer.
link_invalid_or_expired
The signed download link is not valid or has expired (links last 15 minutes).
What to do: Request a new link from /export.
mfa_required
This customer session has opted into MFA and needs current factor verification. No selected key or private data is accessed.
What to do: Complete authenticator or recovery-code verification on the account page, then retry. Machine API-key authentication is separate.
model_demo_not_available
This release is not approved and currently served for the public model demo.
What to do: Use an available demo model or sign in with your scoped model access.
model_not_granted
The subscription does not include this model.
What to do: Ask us to add the model. /access lists what a key may call.
noise_query_not_granted
The credential has no matching reviewed noise-query admission.
What to do: Use a credential with the required endpoint and reviewed source-consumer contract; do not fall back to unrestricted geometry.
observation_section_not_granted
The key may call observations, but not the profile section the variable belongs to (section names it: weather for temperature, wind and precipitation).
What to do: Ask for the section. An observation never opens what the profile keeps closed.
organization_grant_required
Address and company watchlists need a key that acts for an organisation.
What to do: Call with an organisation's API key.
preview_channel_not_granted
The subscription does not grant preview access. Nothing was counted.
What to do: Ask an administrator to review the preview grant.
regulation_document_not_allowed
The live grant does not allow this legal document.
What to do: Ask the customer administrator to review regulation document access.
section_not_available_to_product
An internal product asked for a section it may not read: one that needs an agreement, a review or is restricted, and that its licence list does not name. Grunnbok is never served to a product. In a profile the section is listed as restricted with this code in its error instead.
What to do: Read the section through the product's own licensed source, or ask for it to be added to ADDRESS_API_PRODUCT_LICENSED_SECTIONS.
series_not_granted
The key may call the series API but not this series. series names it.
What to do: Ask for the series to be added to the agreement.
reason: session_required
A selected key needs a valid signed-in session.
What to do: Sign in again.
source_policy_base_denied
The current source, projection or credential policy denies this read. A denial can also occur during final response revalidation.
What to do: Ask an administrator to review the source agreement and policy.
usage_identity_required
/usage and /requests need an organisation to answer for, and the credential does not resolve to one.
What to do: Call with an organisation's API key.
404 Not found
abandoned_delivery_not_found
No abandoned delivery with that id belongs to an active watch of this organisation.
What to do: Only abandoned deliveries can be retried; check status in GET /watchlist/deliveries.
address_not_found
No address has this id, or no address matches the exact street, number, letter and postcode. In a data-product address_list run the same code marks a row instead.
What to do: Search again with /search.
company_not_found
We hold nothing for this organisasjonsnummer: it is not in the register, and no earlier version, announcement, default event or accounts are held for it. An entity deleted from the register that we do hold answers 200 with status slettet.
What to do: Check the number, or find the company with /search.
cost_benchmark_not_computed
No building cost benchmark has been computed yet for this building type.
What to do: Retry after the next run of the building-cost-benchmark pipeline; nothing was counted.
dataset_not_found
No dataset has this id. catalog names the catalogue to choose from.
What to do: Pick an id from /api/v1/datasets/catalog.
dead_delivery_not_found
No failed delivery has this id for your organisation.
What to do: List deliveries and retry one by its delivery id.
demo_address_not_found
No address has this id.
What to do: Use an address_id from the demo search.
demo_not_enabled
The assistant or company preview is not switched on in this environment.
What to do: Use the API with a key, or the address demo.
document_not_found
No held document has this document_id.
What to do: Take document ids from the address dossier.
document_original_not_retained
The original of this document is not retained, so no signed URL can be minted.
What to do: The dossier's availability and listing_hints say what is held; nothing is substituted.
documents_kommune_not_found
The code is not a current kommune in the registry, so there is no coverage to report.
What to do: Use a current four-digit kommune code. Nothing is inferred for an unknown code.
file_not_found
The snapshot file named by the link no longer exists.
What to do: Request a new link from /export.
guidance_revision_not_found
The selected guidance revision has not been observed.
What to do: Check the guidance identity and revision; no other revision is substituted.
historical_derivation_not_retained
The exact historical page derivation is not retained.
What to do: Read the exact edition page manifest; no alternative derivation is substituted.
historical_edition_not_retained
The exact historical edition is not retained.
What to do: Check the instrument and edition identity; no current or other edition is substituted.
job_not_found
No job with this id belongs to the caller's organisation.
What to do: Use the id returned when the job was started.
location_not_in_sweden
The point is inside the box but in no SCB DeSO area: the sea, or a neighbouring country near the border.
What to do: Move the point onto Swedish land, or use the Address API for a Norwegian address.
model_not_found
No model with this id has a release served to Datakilde.
What to do: Use a model id from /api/v1/predictions/catalog.
model_release_not_found
The model is registered, but no release of it is active for Datakilde, so there is no card or validation to show.
What to do: Read runtime_availability and release_validation in the problem body: no_release, not_serving, suspended or shadow say what the registry holds. A model with an active release is listed in /api/v1/predictions/catalog.
municipal_evidence_not_retained
The exact municipal original or page derivation is not retained.
What to do: Check the exact manifest and pins; no alternative evidence is substituted and no unit was consumed.
municipality_not_found
No municipality has this code.
What to do: Send a current four-digit municipality code.
no_address_at_place
Region resolve found no address with this address_id, or none within 250 m of the point.
What to do: Check the address_id, or send a point nearer a building.
no_listing_rows
The Datamarked listing has no rows for this subject.
What to do: Choose another subject.
prediction_subject_not_found
The address id in the subject is not in the address register.
What to do: Find the address with /api/v1/addresses/search, or send a point.
publication_anchor_not_retained
The exact publication anchor is not retained.
What to do: Read the exact revision's anchor index before selecting a clause.
publication_revision_not_retained
The exact publication revision or graphic is not retained.
What to do: Check exact publication/revision and asset pins; no latest fallback is attempted.
region_geometry_not_held
No boundary is held for this region: a former kommune or fylke, or a code with no polygon in the Kartverket tables.
What to do: Use the current code from /resolve.
region_not_found
No region has this code.
What to do: Resolve a name to a code with /api/v1/regions/resolve?q=.
regulation_paragraph_not_found
The paragraph is absent from the selected complete document revision.
What to do: Check the reference and revision; the response does not substitute another revision.
regulation_revision_not_found
The selected document revision has not been published.
What to do: Use an available observed revision; an effective date is not a revision selector.
route_not_found
No endpoint has this path. It used to be the plain text "404 page not found"; it is JSON with this code now.
What to do: Check the path against the reference, or the OpenAPI document of the API you mean (/api/v1/addresses/openapi.json and the other subjects'). The model card and validation routes answer it while DATAKILDE_MODEL_CATALOGUE_MEASURED_ENABLED is off.
section_not_found
GET /catalog/sections/{section} names a section the family's catalogue does not have. section names it.
What to do: Use an id from /catalog.
series_not_found
No series has this id. catalog names the catalogue to choose from.
What to do: Pick an id from /api/v1/series/catalog.
subject_not_found
The subject has no addresses.
What to do: Check the code or id.
unknown_data_product
No data product has this id (or this version).
What to do: List products with GET /data-products.
405 Method not allowed
method_not_allowed
The path exists, but not for this method. The Allow header and the allowed member list the methods it takes.
What to do: Use one of the methods in Allow.
409 Conflict
address_watch_limit_reached
The organisation already watches the most addresses allowed (maximum).
What to do: Remove watches you no longer need, or ask us to raise the limit.
ambiguous_address
The exact address matches more than one record. Up to 20 candidates are returned (truncated says if there were more).
What to do: Let the user choose, then resolve by address_id. Never pick the first candidate silently.
as_of_before_vintage_history
The series has no stored vintage as early as as_of; the vintage log starts later (hint says when).
What to do: Send a later as_of, or omit it for the current figures.
ground_metadata_snapshot_changed
The current NADAG metadata publication differs from the supplied snapshot.
What to do: Restart without the old snapshot and continuation, then retain the newly returned snapshot across pages.
idempotency_outcome_unknown
An earlier request with this key stopped without a recorded outcome; the model execution may or may not have completed. Nothing was started or counted again.
What to do: Do not resend the same key expecting a new run. Check your request history; use a new key only if you accept that an earlier execution might have completed.
idempotency_request_in_progress
The first request with this key is still running. Nothing was started or counted again.
What to do: Retry after Retry-After; the repeat will replay the first answer when it is available.
job_not_finished
The job's result is not ready. status gives the job's state.
What to do: Poll the job until it is done.
listing_paused
The seller has paused the Datamarked listing.
What to do: Try again later.
municipal_discovery_changed
The customer entitlement or serving-policy page changed.
What to do: Restart listing without the previous cursor; no document unit was consumed.
municipal_evidence_binding_mismatch
The retained evidence does not match the requested pins or public projection.
What to do: Check the exact manifest and pins; no alternative evidence is substituted and no unit was consumed.
prediction_result_release_inactive
The cached answer's exact model release is no longer actively served, so the old answer was not replayed.
What to do: Check /api/v1/predictions/catalog; use a new Idempotency-Key only when you want the currently active release.
regulation_catalog_changed
Document identities or revisions changed after the catalog cursor was issued.
What to do: Discard the cursor and restart from the first catalog page.
regulation_evidence_binding_mismatch
The retained national evidence does not match the requested source binding or public projection.
What to do: Check the exact document and revision pins; no alternative source is substituted and no unit was consumed.
regulation_history_changed
The observed revision set or current head changed after this cursor was issued.
What to do: Discard the cursor and restart revision discovery for this document.
watch_limit_exceeded
Adding these would exceed the number of companies the plan lets you watch. limit, watched and requested_new say where you stand.
What to do: Remove companies, or ask for a higher limit.
410 Gone
data_product_version_retired
The product version the job ran is retired, so its result is no longer served. The job's status route answers the same, and the job list leaves the job out and counts it under withheld.
What to do: Run the current version.
full_refresh_required
Deletions before tombstones_complete_since are no longer listed, so a delta from your watermark would silently miss them.
What to do: Reload the table from /records without parameters (or /export) and resume incremental sync from there.
job_result_expired
The job's result file has been deleted after its retention period.
What to do: Run the product again.
snapshot_superseded
A newer snapshot replaced the one the link names.
What to do: Request a new link from /export.
413 Too large
cost_request_too_large
The estimate body is larger than 256 KiB.
What to do: Send at most 500 lines, without attachments.
narrow_the_request
The answer would hold more rows than one call returns. max_rows says how many.
What to do: Name fewer geo codes, or narrow from/to.
prediction_request_too_large
The prediction request body is larger than 16 KiB.
What to do: Send one subject and its options only.
request_body_too_large
The request body is larger than any route accepts (1 MiB). Nothing was read or counted.
What to do: Send a smaller body; split a batch.
run_too_large
The run has more cells than the product answers synchronously or as a job.
What to do: Choose a coarser resolution or a smaller subject.
too_many_org_numbers
More organisation numbers than one call may carry. max says how many.
What to do: Split the list over several calls.
422 Cannot be answered
idempotency_key_reused
This Idempotency-Key was used in the last 24 hours with a different request (method, path, query or body). Nothing was computed or counted.
What to do: Use a new key for a new request; reuse a key only to retry the identical request.
subject_too_small
The subject has fewer addresses than the product's privacy threshold (min_group_size).
What to do: Choose a larger area.
429 Too many requests
catchment_enumeration_throttled
The customer has been served the catchment for as many distinct addresses within 1000 m of this one as one day allows (10 in a rolling 24 hours). Neighbouring catchments subtract to small areas, so a walk over adjacent addresses is stopped. Retry-After and retry_after_seconds say when the neighbourhood opens again. In an address lookup the exposure_catchment section is restricted with this error instead.
What to do: Wait for Retry-After, or ask for addresses further apart. An address already served in the window is served again. Nothing was counted.
demo_busy
The demo is answering too many requests at once.
What to do: Retry after a few seconds.
demo_rate_limited
Too many demo requests from this address, or, on the assistant, from everyone: scope says which (visitor or global) and resets_at when the window ends.
What to do: Wait the number of seconds in Retry-After.
document_enumeration_throttled
The credential was served many distinct documents of one kommune in a short window; new documents are refused.
What to do: Request only documents of addresses you are working on, and wait until Retry-After. The event is flagged for review.
document_serve_cap_exceeded
A per-document, per-address or per-day serve cap is full. The X-Document-Cap header names which.
What to do: Wait until Retry-After; the caps protect the municipal sources against bulk copying and are not bought away.
job_limit_reached
This customer already has the maximum number of active data-product jobs.
What to do: Wait for a job to finish before starting another.
model_demo_rate_limited
The public model demo request budget is exhausted.
What to do: Wait for Retry-After before another request.
rate_limit_exceeded
Too many requests in the current minute, for the key's grant or for the calling IP address. A resolve_only POST /addresses/batch counts one request per item (at most the per-minute limit). The opportunities pilot (GET /api/v1/opportunities) limits per IP address, 60 a minute, and answers the same.
What to do: Wait the number of seconds in Retry-After. X-RateLimit-Remaining shows what is left.
regulation_allowance_exhausted
The separate regulation hard allowance is exhausted.
What to do: Wait until resets_at or request an allowance review; retries do not buy capacity.
too_many_failed_authentications
This IP address sent 30 keys or tokens that were not accepted within a minute, so further requests from it are refused for the rest of that minute before any key is checked. Requests with a valid key from the same address are refused too until then.
What to do: Fix the key (the earlier 401 responses say why in reason), then retry after the seconds in Retry-After.
500 Our error
csv_encoding_failed
The result could not be written as CSV.
What to do: Retry, or ask for JSON.
encoding_failed
The response could not be encoded. Nothing was counted.
What to do: Retry; report the request id if it persists.
internal_error
The request failed on our side with an error the service did not expect. It is logged under the request_id; nothing was counted. Until 7 Oct 2026 this was an empty 500.
What to do: Retry once; if it persists, report it with the request_id.
job_internal_error
A data-product job failed on our side. It appears as a job's error, not as an HTTP status of the request that started it.
What to do: Run the product again; report the job id if it repeats.
job_subscription_missing
A data-product job has no recorded admitting subscription and cannot run safely. This appears as a job error; no source data is read or charged.
What to do: Start a new job under the current agreement. Contact support if a new job has the same failure.
parquet_encoding_failed
The result could not be written as Parquet.
What to do: Retry, or ask for JSON or CSV.
503 Temporarily unavailable
batch_time_budget_exhausted
In a batch line: the batch ran out of time before this address. It was not delivered and not counted.
What to do: Send the not_run addresses again in a new batch.
busy
The service is already running as much of this kind of work as it admits at once (address, company and region lookups, searches, data-product runs, series pulls, dataset page reads and exports, prediction runs, and the public demo), and refused this one after a short wait instead of queueing it. retry_after_seconds says when to retry.
What to do: Retry after the seconds in Retry-After. Nothing was counted.
data_product_timeout
The data-product run exceeded its execution deadline without a charge.
What to do: Choose a smaller subject or coarser resolution and retry.
export_not_ready
No snapshot file exists yet, or snapshot files are not enabled on this server. hint says which.
What to do: Page through /records, or retry after the dataset's next refresh.
forecast_not_available
The building cost forecast has no rows for this building type: the index it projects has not been collected yet. Nothing was counted.
What to do: Retry later; the forecast is rebuilt when SSB publishes a new month.
job_result_unreadable
The job's result file could not be read.
What to do: Retry after a short wait.
job_storage_full
The deployment cannot safely store another job result.
What to do: Retry after storage capacity is restored.
jobs_not_available
Jobs are not enabled on this deployment, so runs above the synchronous limit cannot be queued.
What to do: Run a smaller subject synchronously.
prediction_capacity_exhausted
All model prediction workers are busy. Nothing was counted.
What to do: Retry with backoff after Retry-After seconds; avoid parallel retry bursts.
result_storage_full
A data-product job could not store its result. It appears as a job's error.
What to do: Run the job again later.
similar_companies_not_computed
The similar-company features have not been computed yet.
What to do: Retry after the time in Retry-After.
source_not_loaded
A source the product needs has not been loaded yet.
What to do: Try again later; the catalogue shows source status.
source_policy_base_unqualified
A required source policy is absent, or its consumer contract cannot qualify this read. No source read was performed.
What to do: Ask an administrator to qualify the source-policy selection, consumer lineage and required projection.
subscription_renewal_pending
An effective subscription change is awaiting reconciliation; requests cannot use the previous limits under new pricing.
What to do: Retry after Retry-After seconds. If the issue persists, contact Approach. Nothing was counted.
synthetic_fixture_route_not_supported
This development test-customer route has no isolated synthetic fixture adapter. No shared or live source fallback was performed.
What to do: Use a supported development fixture route or ask an administrator to add an isolated adapter; retries alone cannot enable this route.
504 Timed out
prediction_timeout
The model did not answer within its time limit. Nothing was counted.
What to do: Retry, or use the precomputed address section for the model if there is one.
200 Sections refused inside a successful response
These codes are in one section's error field, not on the response as a whole. The HTTP status is 200 and partial can be false, so check each section's status and error before reading an empty section as "no data".
sections.*.error: section_not_granted
The section is not part of your access. It is listed with status restricted, no records and this code in its error; the other sections in the response are served as usual. A single-section request answers 200 the same way.
What to do: Ask for access to the section through the contact form, or leave it out of include and package. /access lists the sections a key may read.
sections.*.error: source_policy_denied
The selected source policy denies a declared input of this section. Its provider was not fetched; the section is restricted with no records.
What to do: Ask an administrator to review the source policy and agreement.
sections.*.error: source_policy_unqualified
The selected source policy cannot qualify this section's input lineage or reviewed projection. Its provider was not fetched; no empty records should be interpreted as source absence.
What to do: Ask an administrator to review consumer lineage and the required projection.