1. Diagnostic API Responses
NEWS API
  • News API - Introduction
  • Authentication, Request & Response
  • Code Samples & API Trial
  • List of APIs
  • Single company News
    • Single Company News
      GET
  • Multi-company news
    • Multi-Company News
      GET
  • General News
    • General News
      GET
  • Webhook Support
    • Webhook
  • Glossary
    • Glossary
  • Diagnostic API Responses
    • Diagnostic API Responses
  1. Diagnostic API Responses

Diagnostic API Responses

At times, server sends diagnostic responses instead of requested data. Please find below list of possible informational messages (returns as text/plain) by our server. Most of these responses are self-explanatory. Your code should be designed to handle these responses which are returned as text/plain .

400 – Bad Request#

These errors occur when the request contains invalid parameters or parameter combinations.
Error MessageDescription
Invalid API keyReturned when the provided API key is invalid.
Use exactly one of: symbol, isin, company, scrip_codePlease provide only one company identifier in the request.
Use only one of: symbols, isins, scrip_codesPlease provide only one type of identifier in a multi-company request.
Please provide either 'symbols', 'scrip_codes', or 'isins' parameterAt least one identifier must be provided in a multi-company request.
Company name search is not supported in multi-company requestsPlease use the single company endpoint for company name search.
No identifiers providedPlease provide valid symbols, ISINs, or scrip codes.
Too many identifiers provided. Maximum allowed: 20Please limit the number of identifiers to 20 per request.
'from' date must be before 'to' datePlease ensure the 'from' date is earlier than the 'to' date.
Invalid date formatPlease provide dates in ISO 8601 format (e.g., 2025-01-01T00:00:00+05:30).
Invalid date rangePlease request 'from' and 'to' parameter values within the allowed period.
limit/offset must be non-negative integersPlease provide valid non-negative numeric values for pagination.
Invalid sentiment. Allowed: positive, negative, neutralPlease provide a valid sentiment value.
Invalid article_type for company-specific newsPlease use valid article types applicable for company-specific news.
Invalid article_type for general newsPlease use valid article types applicable for general news.

404 – Not Found#

These errors occur when the requested resource does not exist.
Error MessageDescription
Company with symbol '{symbol}' not foundNo company found for the provided symbol.
Company with ISIN '{isin}' not foundNo company found for the provided ISIN.
No companies found with name matching '{company}'No matching company found for the provided name.
No valid companies found for the provided symbolsNone of the provided symbols are valid.
No valid companies found for the provided ISINsNone of the provided ISINs are valid.
Invalid symbols: {symbol1, symbol2}Some of the provided symbols are invalid.

500 – Internal Server Error#

These errors indicate server-side issues.
Error MessageDescription
Internal server errorAn unexpected error occurred. Please try again later or contact support if the issue persists.

Webhook Error Responses#

400 – Bad Request#

{
"error": "Invalid webhook URL. Must be a valid HTTPS URL"
}
Please provide a valid HTTPS webhook URL.

409 – Conflict#

{
"error": "Invalid webhook URL. Must be a valid HTTPS URL"
}
The webhook URL is invalid or already exists. Please verify and try again.
Modified at 2026-04-07 12:01:25
Previous
Glossary
Built with