Prompt
How do I troubleshoot missing fields in an enrichment API response?
Latest observation
Oct 25, 2026
OpenAI APIWeb search: off
When fields are missing from an enrichment API response, troubleshoot it in a structured way:
1) Verify the request
- Confirm you’re sending the right identifier(s): email, domain, IP, company name, etc.
- Check for typos, whitespace, casing, or malformed values.
- Make sure you’re hitting the correct endpoint and environment.
2) Check whether the data exists
- The enrichment service can only return fields it has.
- Try a more complete or higher-quality input if available.
- Some fields may be unavailable for certain countries, company sizes, or record types.
3) Review the API docs for field-level conditions
- Many enrichment APIs only return fields when certain criteria are met.
- Some fields are:
- optional
- premium/paid-tier only
- only returned for verified matches
- excluded unless explicitly requested via a
fieldsorincludeparameter
4) Inspect match confidence and status
- Look for indicators like:
match_statusconfidencefoundenrichedpartial_match
- A partial or low-confidence match often means fewer fields are returned.
5) Check permissions and plan limits
- Your API key may not have access to all fields.
- Some providers restrict sensitive or high-value fields by plan, role, or consent rules.
6) Confirm your parsing code isn’t dropping fields
- Ensure your client isn’t:
- filtering out null/empty values
- mapping only a subset of keys
- failing on unexpected nested JSON
- overwriting the response object
- Log the raw response before transformation.
7) Look for nulls vs. missing keys
- A field may be:
- absent entirely, or
- present with
null/empty value
- These mean different things:
- missing key: provider didn’t include it
- null: provider knows the field but doesn’t have a value
8) Test with a known-good record
- Try a record that should clearly return all major fields.
- If it works there, the issue is likely input quality or record coverage.
- If not, the issue may be auth, request formatting, or client-side parsing.
9) Compare raw API response to expected schema
- Use cURL/Postman or your HTTP client’s raw output.
- Validate the response against the documented schema.
- Check headers, response codes, and any warning/error payloads.
10) Contact support with details
If it still isn’t clear, share:
- request payload
- timestamp
- response body
- your API key’s plan/permissions
- example of the missing fields
- whether the issue affects one record or all records
If you want, I can also give you a step-by-step debugging checklist or help you troubleshoot a specific API response if you paste it here.