401 response from graphql sandbox when running autotest

vileyne
Contributor
Contributor

We are writing end-to-end tests using Playwright. Once we test PayPal payment method next happens: after login with valid sandbox account when hit the "Continue to review order" button page juts reloads, click again -> "getting your wallet" screen shown -> than the same page.

In network we can see that there is a request to https://www.sandbox.paypal.com/graphql/ with operationName= approveMemberPayment which gives 401 response, even though request to same url with operationName=addressValidation is successful. 

Could you please enlighten of what might be the issue here?

Login to Me Too
1 ACCEPTED SOLUTION

Accepted Solutions
Solved

vileyne
Contributor
Contributor

Issue has been resolved. Not need auth header were sent.

View solution in original post

Login to Me Too
1 REPLY 1
Solved

vileyne
Contributor
Contributor

Issue has been resolved. Not need auth header were sent.

Login to Me Too

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.