© Adviser Technologies Limited t/as Adviser.ai – Privacy Policy
Error Codes
When interacting with the Adviser.ai Campaign API, various operations may result in error codes if something goes wrong. These error codes help identify the nature of the issue and provide guidance on how to resolve it. The response body may also contain additional information, such as error messages or descriptions, to provide further clarity. Here’s a list of common error codes you might encounter:
Success | Response Type | Response message | Explanation |
200 | ok | Success | The information returned with the response is dependent on the method used in the request, for example: |
Client Error | Response Type | Response message | Explanation |
400 | Bad request | No email and no sms | All campaigns require at least an email or sms |
400 | Bad request | Fact Finder already exists | Campaign in progress, sent in the last 5 days or previously completed fact finder from this customer. If you wish to override this function please consult with the project owner at Client and see below for parameter required* |
400 | Bad request | Adviser not recognised | Adviser name not recognised. Consult with the project owner at Client to check that adviser name matches or is available within “Active Users” relevant |
400 | Bad request | Opted-out | Previously opted-out to this product on the Client adviser dashboard |
403 | Forbidden | Company ID not authenticated | Check correct ID as per this document, then consult with Adviser.ai if not working at https://adviser.ai/help/urgentrequest |
404 | Not found | Internal error | Campaign templates not set up correctly. Please consult Adviser.ai at https://adviser.ai/help/urgentrequest with details URGENTLY. |
Handling Errors
- Log Errors: Always log errors for further analysis and troubleshooting.
- Retry Logic: For temporary errors like 503 Service Unavailable, implement retry logic with exponential backoff.
Understanding these error codes and their meanings will help you debug issues more effectively. Ensuring a smoother integration experience with the Adviser.ai Campaign API.