Error Responses

A number of error responses can be returned by a request.

Invalid/Wrong API Key (unauthorized - 401)
No API Key/ email provided (bad request - 400)
Invalid query email (bad request - 400)
No credits available (Insufficient account balance - 402)
LinkedIn Page doesn't exist anymore (page not found - 404)
Server Error (500)

Samples responses are as listed below.

 {
  "success": false,
  "title": "An error has occurred 🚒",
  "msg": "The API Key is missing"
 }
 {
  "success": false,
  "title": "An error has occurred 🚒",
  "msg": "Unauthorized"
 }
 {
  "success": false,
  "title": "You don't have enough credits on your account 💰",
  "msg": "You have to upgrade to continue"
 }
  {
      "success": false,
      "title": "An error has occurred 🚒",
      "msg": "The email has the wrong format"
  }

  {
      "success": false,
      "title": "An error has occurred 🚒",
      "msg": "The email is missing"
  }
  {
      "success": false,
      "title": "An error has occurred 🚒",
      "msg": "This LinkedIn Profile is not available or does not exist."
  }
  {
      "success": false,
      "title": "An error has occurred 🚒",
      "msg": "🚨 Internal Server Error, you will not be credit debited."
  }