Discussions

Ask a Question
Back to All

Error in API call

The error status received in APIs Will that be consistent?

currently API response for example timeclock events is

{
"status": 12,
"data": "Create Failed - Your CREATE request failed",
"error": "break is not started",
"token": "b87adf14967c9286b7942136ff50ace3dbec0c45"
}

with response status 200

ideally response status should be non 200
and status shared in response is also not unique, It is same for other errors too
the above response is for breakout type