<p>Im having some issues to inquire the publisher API.
Im creating an oauth Client but im still getting a 401 Error .
The projects are link so im assuming that the problem is in my server code ?</p>
<pre><code> c := endpoints.NewContext(r)
cli := &http.Client{
Transport: &oauth2.Transport{
Source: google.AppEngineTokenSource(c, "https://www.googleapis.com/auth/androidpublisher"),
Base: &urlfetch.Transport{Context: c},
},
}
androidpublisherService, err := androidpublisher.New(cli)
if err != nil {
c.Debugf(" err %#v", err)
return nil, err
}
resp := androidpublisherService.Purchases.Subscriptions.Get(PACKAGE , SUBID, SubscriptionToken)
bla, err := resp.Do()
</code></pre>
