Add invalid return when some unpredictive happend on api