title: Get android subscription status, failed with 403
body: <p>While trying to get android in-app subscription status (with expiry date), I get the following error message:</p>
  
  <pre><code>{
   "error": {
    "errors": [
     {
      "domain": "androidpublisher",
      "reason": "projectNotLinked",
      "message": "The project id used to call the Google Play Developer API has not been linked in the Google Play Developer Console."
     }
    ],
    "code": 403,
    "message": "The project id used to call the Google Play Developer API has not been linked in the Google Play Developer Console."
   }
  }
  </code></pre>
  
  <p>The URL is: <a href="https://www.googleapis.com/androidpublisher/v2/applications/[packageName]/inapp/[productId]/purchases/[purchase_token]?access_token=[access_token]" rel="noreferrer">https://www.googleapis.com/androidpublisher/v2/applications/[packageName]/inapp/[productId]/purchases/[purchase_token]?access_token=[access_token]</a></p>
  
  <p>It says the project id is not linked. I have done the following:</p>
  
  <blockquote>
  <pre><code>1. Create the project in Google Developer Console.
  2. Turn on the Google Android Publisher API.
  3. Link the project ID as mentioned in API access page (https://developers.google.com/android-publisher/getting_started)
  4. Fill in the packageName, productId (from in app-purchase), purchase_token (from Android app)
  </code></pre>
  </blockquote>
  
  <p>Not sure why the error message appear as above. I have tried with the OAuth2 playground with no luck (<a href="https://developers.google.com/oauthplayground/" rel="noreferrer">https://developers.google.com/oauthplayground/</a>)</p>