I want to catch the exceptions, If the request was failed it will output value in to status "Failed" else "Completed". I\'ve tried object.length but