This callback will be used by SDK to inform application if there was a success or failure when the API was executed
Called when the SDK has encountered an error
This is called when the request from client has reached the server successfully