title: DioError [DioErrorType.response]: Http status error [401]
body: <pre class="lang-dart prettyprint-override"><code>final dio = Dio();
      try {
        await dio.request(
          'https://api.example.com/api/v1/auth/validateMobile',
          data: {&quot;phoneNo&quot;: &quot;+91999999999&quot;},
          options: Options(
            method: 'GET',
            headers: {
              HttpHeaders.authorizationHeader:
                  'Bearer $token',
              'content-Type': 'application/json'
            },
          ),
        );
      } on DioError catch (e) {
        print(e);
      }
  </code></pre>
  <pre><code>I/flutter (16336): DioError [DioErrorType.response]: Http status error [401]
  I/flutter (16336): #0      DioMixin.assureDioError (package:dio/src/dio_mixin.dart:819:20)
  I/flutter (16336): #1      DioMixin._dispatchRequest (package:dio/src/dio_mixin.dart:678:13)
  I/flutter (16336): &lt;asynchronous suspension&gt;
  I/flutter (16336): #2      DioMixin.fetch.&lt;anonymous closure&gt;.&lt;anonymous closure&gt; (package:dio/src/dio_mixin.dart)
  I/flutter (16336): &lt;asynchronous suspension&gt;
  </code></pre>
  <p>I'm getting 401 error even though I'm passing authorization header with correct token. Thank you for your help.</p>