Google Cloud Endpoints V2 Application Error

When working with Google Cloud Endpoints Frameworks(CEF) there was an unexpected issue that I kept running into. The Google Cloud docs don’t mention (or at least I didn’t find it) about configuring your app.yaml file for GCE v2 usage.

For example in my app.yaml I had the following:

- name: endpoints
  version: latest

You would think that this would let you use the latest version of the GCE V2 but nope. I kept getting the following error:

{"state": "APPLICATION_ERROR", "error_message": "Not Found"}

Turns out that you need to completely remove the endpoints entry from your app.yaml file and then it all works.