Responses and Error handling

Success Response:

{"message":{"ack":{"status":"ACK"}}

Error Responses:

  1. Authorization and Validation Failure Errors:

    1. Missing Access key: {"message":{"ack":{"status":"NACK"},"error":{"error":"Project not initialize:Access key is missing"}}

    2. Missing Secret key: {"message":{"ack":{"status":"NACK"},"error":{"error":"Project not initialize:Secret key is missing"}}

    3. Missing Subscriber ID: {"message":{"ack":{"status":"NACK"},"error":{"error":"Project not initialize:Subscriber ID is missing"}}

    4. Other errors : {"message":{"ack":{"status":"NACK"},"error":{"error":"Project not initialized correctly or requested service is not enabled"}}

  2. Schema Failure Errors:

    1. data is not present: {"message":{"ack":{"status":"NACK"},"error":{"error":"Record data 'data' is missing"}}

    2. type is not present: {"message":{"ack":{"status":"NACK"},"error":{"error":"Record data 'type' is missing"}}

    3. other errors: {"message":{"ack":{"status":"NACK"},"error":{"error":"internal server error"}}

  3. Other Errors:

    1. Internal Server Error: {"message":{"ack":{"status":"NACK"},"error":{"error":"internal server error"}}

    2. In case of above error please contact at [email protected]

Last updated