Unable to authenticate with Apollo storage while fetching #5110
-
I'm getting this:
...when I deploy my federation gateway service. I'm pretty sure that my API key is set up correctly, because if I deploy with serviceList specified I get this:
Apollo usage reporting wouldn't work if APOLLO_KEY wasn't correct, right? APOLLO_KEY and APOLLO_GRAPH_VARIANT are the same in both instances. I'm pretty sure a federated service for this graph variant has been pushed as well. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
I think I've found the issue. When I actually sent a query to the version with serviceList which had logged "Apollo usage reporting starting!", I got this error message:
Note there is a line break after the key. On googling it I came across this: So it seems like the issue is that I have a newline at the end of my secret. Edit: Confirmed that was the issue. It's working fine now. |
Beta Was this translation helpful? Give feedback.
I think I've found the issue. When I actually sent a query to the version with serviceList which had logged "Apollo usage reporting starting!", I got this error message:
Note there is a line break after the key.
On googling it I came across this:
node-fetch/node-fetch#401 (comment)
So it seems like the issue is that I have a newline at the end of my secret.
Edit: Confirmed that was the issue. It's working fine now.