Question: I got the super admin privileges for to my Google Account. 

I need to get the list of all the chrome devices through an API. 

I did enable Google Admin SDK but still facing some issues.
I copied the exact python script from [Python Quickstart](https://developers.google.com/admin-sdk/directory/v1/quickstart/python) for checking but still getting error as 

> 
> "googleapiclient.errors.HttpError: https://www.googleapis.com/admin/directory/v1/users?customer=my\_customer&orderBy=email&alt=json&maxResults=10 returned "Insufficient Permission">" 
> 
> 
> 

When checked on Admin SDK API dashboard I can see 4xx errors for every call made from my python script.

Answer: 
You need to have **`subscribe()`** in order to recieve the data

```
   this._http.get('./assets/dashboard/json/config.json')
        .map(res => res.json())
        .subscribe(
          data => this.ResResponse= data,
          err => this.logError(err),
          () => console.log('Completed')
        ); 

    logError(err) {
      console.error('There was an error: ' + err);
    }

```
you need to call subscribe() in order that the request is executed.