Overview
You are not able to connect to FirstRain via API and retrieve the latest publications, encountering the following error:
Check Failed
AssertionError : Name Is Null - Undefined
Solution
Submit a request to FirstRain support to investigate the issue, including the following information:
- API call that you are sending to FirstRain (including credentials- ID and token)
- The response you receive
- Specify if only one endpoint is affected or if you cannot retrieve any data from FirstRain.
<supportagent>
Such issues may be reported by customers which use a custom setup to retrieve data from FirstRain. Here is a sample call, which is different from default FirstRain APIs:https://dnb.firstrain.com/dnbdirect/company/<unique ID>/news.json?tkn=<customer's unique token>
- Open the API URL provided by the customer in a browser.
- If the call is working fine, it will retrieve news feed in JSON format - ask the customer to retest and provide the call that is failing (if any).
- If the issue is still present - elevate the case to the SaaS team for further resolution.
If the customer cannot retrieve any data from FirstRain (all API calls are failing), set the priority of the Jira ticket to Showstopper, if only one endpoint is affected or issue is intermittent (customer can still retrieve data from FirstRain) - set the priority to High.
- If the call is working fine, it will retrieve news feed in JSON format - ask the customer to retest and provide the call that is failing (if any).
</supportagent>