Skip to content

Troubleshooting

Usually means the request hit a wrong path, lost the ApiKey, or reached a generic error page:

  • Verify Named Credential URL is https://apis.threelevers.com/ only (no duplicated path segments).
  • Confirm External CredentialNamed PrincipalAPIKey is set and enabled.
  • Confirm Flow/Apex uses the imported External Service tied to Three_Levers_API, not a hard-coded URL with the key in query string.
  • Named Principal value matches the key Three Levers issued for production.
  • Key is active and includes access to the service you are calling (your key may list many services—use the correct name per call).
  • Custom setting API Key is set if you are testing hosted map or token callouts (both places should match).
  • The running user is assigned a permission set with External Credential Principal access to Three Levers APINamed Principal (see Authentication).

If the full URL appears twice (e.g. https://host/https://host/... or /gis/v1/gis/v1/):

  • Remove the host from either the Named Credential merge field or the External Service relative path—keep it in one place only.
  • Named Credential = base host; OpenAPI basePath = /gis/v1.
SymptomLikely cause
Only local map shownAPIKey__c blank on Three Levers GIS Setting
Token error in debug logNamed Principal missing/wrong; service not licensed
Blank iframeCSP frame-src missing for https://apis.threelevers.com
Stale token after key changeUpdate both key locations; click Refresh on component
  • Confirm lat/long are decimal degrees in the expected order (not swapped).
  • Verify service matches one of the names on your key exactly (not a layer from another org or an old name).
  • Test coordinates known to fall inside the layer extent.
  • In Flow, map Action output to the correct type; success often under Code200.

Responses may include a cache hint (fromcache or similar). Cached answers are normal for repeated lookups; wait for TTL or retry with a distinct test point when validating config changes.

Generated External Service types may expose optional fields with companion _set flags. Map the fields your Flow actually uses; ignore unused optional groups.

  • Token API returned 4xx: Principal key or service name; confirm body includes licensed service.
  • No Named Credential endpoint candidates: Package Named Credential missing or disabled; reinstall or enable Three_Levers_API.

Contact support — paid API clients include phone support.