Android Goeloqi - while creating link getting error - 400,missing_auth

  • Hi,
        I  want to develop android mbl app that tracks continues location and send it to selected user. I have requested createAnonymousUserAccount and get it successfully.

       But request to link/create i an getting following error. And i am not able to find proper flow to use geoloqi in android development so any help for that are appreciated.

       {"error_code":400,"error":"missing_auth","error_description":"No access token or client authentication was found"}

              HttpClient httpclient = new DefaultHttpClient();
              HttpPost httppost = new HttpPost("");

                    try {
                        Log.v("-----pref.getStr----------", "pref.getString "+pref.getString("token","1"));
                        httppost.setHeader("Content-Type",  "application/json");
                       HttpResponse response = httpclient.execute(httppost);
                        final int statusCode = response.getStatusLine().getStatusCode();

                        if (statusCode != HttpStatus.SC_OK) {
                            Log.w(getClass().getSimpleName(), "Error " + statusCode + " for URL ");

                        HttpEntity getResponseEntity = response.getEntity();
                        if (getResponseEntity != null) {
                            Log.v("----respose----", EntityUtils.toString(getResponseEntity)+"--------------");
                    catch (IOException e) {
                        Log.w(getClass().getSimpleName(), "Error for URL ", e);


Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!