diff --git a/internal/api.go b/internal/api.go
index <HASH>..<HASH> 100644
--- a/internal/api.go
+++ b/internal/api.go
@@ -171,8 +171,8 @@ func (c *context) FullyQualifiedAppID() string {
 	// TODO(dsymonds): Memoize this.
 
 	// gae_project has everything except the partition prefix.
-	appID := string(mustGetMetadata("attributes/gae_project"))
-	if part := string(mustGetMetadata("attributes/gae_partition")); part != "" {
+	appID := string(mustGetMetadata("instance/attributes/gae_project"))
+	if part := string(mustGetMetadata("instance/attributes/gae_partition")); part != "" {
 		appID = part + "~" + appID
 	}
Add "instance/" to the start of the metadata path for App ID requests.

Change-Id: I4fdf<I>f<I>bff0c<I>c3d<I>b6bb<I>a2faa<I>d