The following list of HTTP codes are returned by Piloterr.
The following list of HTTP status codes is returned by Piloterr. Each status code indicates the outcome of an API call and suggests a potential resolution for errors.
Status Code | Is Billed? | Explanation | Resolution |
---|---|---|---|
200 | Yes | Successful API Call | No action required. |
400 | No | Bad Request / Inactive API Key / Expired API Key | Verify your parameters and their types. Ensure your API key is active and not expired. Check the detailed error message in the response body for more information. |
401 | No | Unauthorized / Invalid API Key | Check your API key and ensure it is valid. |
402 | No | Payment Required / You Have Open Invoices | Settle any outstanding invoices to continue using the API. |
403 | No | Forbidden / Account Deactivated | Verify your permissions. Contact us if you believe this is a mistake. |
404 | Yes* | Not Found / URL Not Found | Ensure the endpoint URL is correct. This is billed except for specific endpoints listed below. |
429 | No | Rate Limit Exceeded | Consider upgrading your current plan or get in touch with our sales team. |
500 | No | Unexpected Error | Retry the action and check the detailed error message in the response body for more insights. |
The soft_fail=true
parameter can be added to any API request to handle 404 errors with a 200 status code. This feature is particularly useful when:
Usage Example
Important Note: Even though the request returns a 200 status, the original error is:
error
)While most 404 errors are billed, there are specific exceptions for search-related endpoints. The following endpoints are NOT billed when returning a 404 error:
/api/v2/company
- Company search endpoint/api/v2/company/suggest
- Company name suggestions/api/v2/company/social
- Social media search/api/v2/linkedin/company/info
- LinkedIn company informationThis policy ensures that you’re not charged for legitimate “no results found” scenarios during search operations. All other endpoints follow the standard billing rules for 404 errors.
The following list of HTTP codes are returned by Piloterr.
The following list of HTTP status codes is returned by Piloterr. Each status code indicates the outcome of an API call and suggests a potential resolution for errors.
Status Code | Is Billed? | Explanation | Resolution |
---|---|---|---|
200 | Yes | Successful API Call | No action required. |
400 | No | Bad Request / Inactive API Key / Expired API Key | Verify your parameters and their types. Ensure your API key is active and not expired. Check the detailed error message in the response body for more information. |
401 | No | Unauthorized / Invalid API Key | Check your API key and ensure it is valid. |
402 | No | Payment Required / You Have Open Invoices | Settle any outstanding invoices to continue using the API. |
403 | No | Forbidden / Account Deactivated | Verify your permissions. Contact us if you believe this is a mistake. |
404 | Yes* | Not Found / URL Not Found | Ensure the endpoint URL is correct. This is billed except for specific endpoints listed below. |
429 | No | Rate Limit Exceeded | Consider upgrading your current plan or get in touch with our sales team. |
500 | No | Unexpected Error | Retry the action and check the detailed error message in the response body for more insights. |
The soft_fail=true
parameter can be added to any API request to handle 404 errors with a 200 status code. This feature is particularly useful when:
Usage Example
Important Note: Even though the request returns a 200 status, the original error is:
error
)While most 404 errors are billed, there are specific exceptions for search-related endpoints. The following endpoints are NOT billed when returning a 404 error:
/api/v2/company
- Company search endpoint/api/v2/company/suggest
- Company name suggestions/api/v2/company/social
- Social media search/api/v2/linkedin/company/info
- LinkedIn company informationThis policy ensures that you’re not charged for legitimate “no results found” scenarios during search operations. All other endpoints follow the standard billing rules for 404 errors.