I believe there's a typo in this header:
x-amzn-access-token: ...
It should be
x-amz-access-token: ...