Github GraphQL API returns 404 in productions

I’m am able to use githubs graphql api to retrieve my pinned repositories in development, but when I deploy I’m getting a 404 response from the call. I have my token set in my environment variables, so I’m not sure what the issue is here. Any ideas?

Hi, @JMo911, would you please send us a link to the failing deploy (or just the deploy id itself - which is the last portion of the URL for the deploy details page)?