I think AWS Gateway blocks many headers in the request. You'll need to make it so that it lets them through. I think it's part of the API Gateway -> method -> integration request -> HTTP headers.