[Issue #2285] Fixing potential crash caused by failed validation with nil responseData