View Categories

What do I do when API call fails in some instance?

< 1 min read

Customers who have integrated the website forms, third-party system with LeadSquared using LeadSquared API’s can come across a scenario where randomly their API calls would be failing because of following


Reasons for API failures


  • API service down (rare scenario)

  • LeadSquared slowness issue

API response: 

URL : https://api.leadsquared.com/v2/LeadManagement.svc/Lead.Capture?accessKey=u$ra19bd5bebd63186c58f99d34df3f579b&secretKey=6682b0702fe93588242659c2c55e9dd4d5998452


Status Code: 500

Response From Leadsquared : {“Status”:”Error”,”ExceptionType”:”MySqlException”,”ExceptionMessage”:”There was an error processing the request. Please contact administrator.”}


Solution:

By giving a delay of 2 to 3 mins of time again when you recall the desired API, the submission which got failed to track in LeadSquared would get posted to LeadSquared and the details get logged against the lead in LeadSquared.


Scroll to Top