diff --git a/Src/VTEX/VTEXWrapper.cs b/Src/VTEX/VTEXWrapper.cs index 6a1db61da..c28c06510 100644 --- a/Src/VTEX/VTEXWrapper.cs +++ b/Src/VTEX/VTEXWrapper.cs @@ -263,6 +263,7 @@ string result ) { var statusCode = 0; + if (response != null) { statusCode = (int)response.StatusCode;