Check error code in calling recorder API