Skip to content

Unable to authenticate with Apollo storage while fetching #5110

Answered by lukebryant
lukebryant asked this question in Q&A
Discussion options

You must be logged in to vote

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:

Error sending report to Apollo servers: APOLLO_KEY_REDACTED
 is not a legal HTTP header value

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.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@glasser
Comment options

@lukebryant
Comment options

Answer selected by lukebryant
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants