Error Handling
Overview
Tracking uses the same error handling as the Enrich APIs. When you start tracking with trackPerson or trackCompany, the Person Enrich and Company Enrich APIs return the same HTTP status codes, error codes and messages as any other Enrich request. See Enrich Error Handling.
A tracking failure does not affect the enrichment response. If tracking cannot start, the request still returns 200 with the full enrichment result, and the reason is given in the tracking status field:
personTrackedStatusfor the Person Enrich APIcompanyTrackedStatusfor the Company Enrich API
The Webhook Registration API and the Tracking APIs use standard HTTP status codes. Each error response includes statusCode, errorCode, message and smarteTransactionId. Some errors also include data with more detail, such as the IDs that failed. Share the smarteTransactionId with SMARTe Support when you report an issue.
Tracking Status Values
| Tracking Status | When It Occurs | Developer Action |
|---|---|---|
| Person tracked successfully | The person is now tracked. Tracking credits were charged. | No action needed. |
| Person already tracked | Your account already tracks this person. No tracking credits were charged. | No action needed. |
| Person tracking failed: Webhook not configured. | Your API key has no tracking webhook. The person is not tracked. | Register an enrich_live webhook with the Webhook Registration API using the same API key, then send the request again. |
| Person tracking failed: insufficient credits for tracking. | Not enough credits to track. The person is not tracked. | Add credits or contact your SMARTe administrator, then send the request again. |
| Company tracked successfully | The company is now tracked. Tracking credits were charged. | No action needed. |
| Company already tracked | Your account already tracks this company. No tracking credits were charged. | No action needed. |
| Company tracking failed: Webhook not configured. | Your API key has no tracking webhook. The company is not tracked. | Register an enrich_live webhook with the Webhook Registration API using the same API key, then send the request again. |
| Company tracking failed: insufficient credits for tracking. | Not enough credits to track. The company is not tracked. | Add credits or contact your SMARTe administrator, then send the request again. |
The tracking status is returned only when a record is matched and the full profile is requested. It is not returned for no match and junk or ineligible results.
Common Errors
These errors apply to the List Tracked Records, Get a Tracked Record and Untrack Records APIs.
| HTTP Status | Error Code | Message | When It Occurs | Developer Action |
|---|---|---|---|---|
| 401 | AUTH_INVALID | Authentication failed: Invalid API key. | The API key is missing, invalid or deactivated, or your organization is inactive. | Check that the apikey header is present and the API key is active. |
| 500 | INTERNAL_SERVER_ERROR | Something went wrong. Please try again. | An error occurred on the SMARTe server. | Retry the request. If it continues, contact SMARTe Support. |
Webhook Registration API Errors
These errors apply to POST /v2/registration.
| HTTP Status | Error Code | Message | When It Occurs | Developer Action |
|---|---|---|---|---|
| 400 | INVALID_REQUEST | Required Fields Missing | service or webhookUrl is missing. | Send both service and webhookUrl. |
| 400 | FIELD_INVALID | Invalid Destination URL. Please check and try again. | webhookUrl is not a valid HTTPS URL. | Send a valid HTTPS URL of up to 500 characters. |
| 400 | FIELD_INVALID | Invalid service. Please check and try again. | The service is not supported. | Set service to enrich_live for Tracking. |
| 400 | FIELD_INVALID | Destination URL is unreachable. Please verify the endpoint. | SMARTe cannot reach webhookUrl. | Check that the endpoint is public and returns a 2xx response, then register again. |
| 400 | FIELD_INVALID | Webhook already registered for this service. | The URL is already registered for the service. | Use the existing webhook. To change it, contact SMARTe Support. |
| 401 | AUTH_INVALID | apikey header is required. | The request is sent without the apikey header. | Add the apikey header with the Enrich API key. |
| 403 | WEBHOOK_LIMIT_REACHED | Webhook limit reached. Contact [email protected] to increase the limit. | The webhook limit for the service is reached. | Contact [email protected] to increase the limit. |
| 500 | INTERNAL_SERVER_ERROR | Something went wrong. Please try again. | An error occurred on the SMARTe server. | Retry the request. If it continues, contact SMARTe Support. |
List Tracked Records API Errors
| HTTP Status | Error Code | Message | When It Occurs | Developer Action |
|---|---|---|---|---|
| 400 | INVALID_VALUE | pageNumber must be an integer greater than or equal to 1. | pageNumber is less than 1. | Set pageNumber to 1 or more. |
| 400 | INVALID_VALUE | pageSize must be an integer between 1 and 100. | pageSize is less than 1. | Set pageSize between 1 and 100. |
| 400 | EXCEEDS_MAX_LIMIT | pageSize cannot exceed the maximum allowed limit of 100. | pageSize is greater than 100. | Set pageSize to 100 or less. |
| 400 | INVALID_PAGINATION | The requested page exceeds the available results. Please provide valid pagination. | The requested page is beyond the first 10,000 records. | Request a page within the first 10,000 records. |
Get a Tracked Record API Errors
| HTTP Status | Error Code | Message | When It Occurs | Developer Action |
|---|---|---|---|---|
| 404 | NO_DATA | Entity is not tracked under this account. | The record is not tracked under your API key, or the ID is not a valid personId or companyId. | Check the ID, or use the List Tracked Records API to find tracked records. |
Untrack Records API Errors
| HTTP Status | Error Code | Message | When It Occurs | Developer Action |
|---|---|---|---|---|
| 400 | FIELD_MISSING | At least one id must be provided. | No IDs were sent. | Send at least one personId or companyId. |
| 400 | EXCEEDS_MAX_LIMIT | Maximum of 50 IDs allowed per request. | More than 50 IDs were sent. | Split the IDs into requests of 50 or fewer. |
| 400 | FIELD_INVALID | One or more provided IDs are invalid in format. | One or more IDs have an invalid format. The invalid IDs are returned in invalidIds. | Correct the IDs listed in invalidIds and send them again. |
| 404 | NO_DATA | No tracked entities matched the provided IDs. | None of the IDs are tracked under your API key. The IDs are returned in notFound. | Check the IDs, or use the List Tracked Records API to find tracked records. |
When only some IDs are not tracked, the request succeeds with the message "Untrack request processed." and returns those IDs in notFound.
Best Practices
- Check the tracking status in every Enrich response that starts tracking, because tracking failures return 200.
- Handle Enrich errors the same way as in your existing Enrich integration.
- Retry only 500 errors. Fix the request before retrying other errors.
- Log the
smarteTransactionIdof every failed request.
What's Next
See the API Reference for request parameters, response fields and sample payloads for each API.
Updated about 2 hours ago

