title: What does the BLE-status code "-402" mean?
body: <p>I have a GarminIQ-project. Therefore I make a request. Since yesterday I get the error code -402. </p>
  
  <p>According to <a href="https://developer.garmin.com/downloads/connect-iq/monkey-c/doc/Toybox/Communications/OAuthMessage.html#responseCode-instance_method" rel="nofollow noreferrer">https://developer.garmin.com/downloads/connect-iq/monkey-c/doc/Toybox/Communications/OAuthMessage.html#responseCode-instance_method</a> negative values stand for BLE-responses, positive are the http-requestCode. Does anybody know what -402 stands for? </p>
  
  <p>I am using the Connect IQ SDK 3.0.10.</p>
  
  <p>I tried to find out, what the error code is meaning. But I haven't found a list with code "-402" or "402"</p>
  
  <p>Down below are the two code snippets that are used for the request. The argument url is our api-url. This works fine in a browser.</p>
  
  <pre><code>//This function makes the request
  function makeRequest(url) {
          jsonFile = Communications.makeJsonRequest(url, {}, {}, method(:onReceive));
      }
  
  //This is the callback method that is called, when data have arrived
  function onReceive(responseCode, data){
  
          if (responseCode == 200) {
              notify.invoke(1, data);
          }else {         
              System.println(responseCode);
              notify.invoke(0, "Failed to load\nError: "+responseCode.toString());
          }
      }
  </code></pre>