Intended outcome:
Following the quickstart from the docs will allow the server to fetch operations from the registry
Actual outcome:
I get the following error on server startup:
Apollo Server could not begin serving requests immediately because the operation manifest could not be fetched. Attempts will continue to fetch the manifest, but all requests will be forbidden until the manifest is fetched. Could not fetch manifest <?xml version='1.0' encoding='UTF-8'?><Error><Code>AccessDenied</Code><Message>Access denied.</Message><Details>Anonymouscaller does not have storage.objects.get access to engine-op-manifest-storage-prod/30624306dc472e38a3c9c6bf22e20f77d1a3ef441357be6d7e07af37aca03f9e36d25303367f3edd449a57addf4996bd45f19c7b2127d0d60837dadf3b0ffe82/e95537ddd915785365bbb8a35003ab00d9613cf51b72b628a52e71672b56b41d8e4a2624cb4803b214ab032ccfcd793c97afa46ddba5cf366cb80a9ed5499580.</Details></Error>
in spite of having correctly pass the Engine API key. I've double and triple checked the key, and it works correctly with other services (i.e. tracing).
const apolloServer = new ApolloServer({
...
engine: {
apiKey: appConfig.ApolloEngineKey,
schemaTag: appConfig.NodeEnvironment,
privateVariables: true,
},
subscriptions: false,
plugins: [
// tslint:disable-next-line:no-require-imports
require('apollo-server-plugin-operation-registry')({
forbidUnregisteredOperations: true,
}),
],
});
How to reproduce the issue:
Follow the quickstart, see the error
Versions
"apollo-server": "2.2.6",
"apollo-server-express": "2.2.6",
"apollo-server-plugin-operation-registry": "0.0.1-alpha.6",
"apollo":"2.4.4"
Intended outcome:
Following the quickstart from the docs will allow the server to fetch operations from the registry
Actual outcome:
I get the following error on server startup:
in spite of having correctly pass the Engine API key. I've double and triple checked the key, and it works correctly with other services (i.e. tracing).
How to reproduce the issue:
Follow the quickstart, see the error
Versions