I am getting this error when trying to test in sandbox mode:

Dear store owner,
An error occurred when attempting to initiate a PayPal Express Checkout
transaction. As a courtesy, only the error "number" was shown to your
customer. The details of the error are shown below.

10002
Security error
Security header is not valid



What did I do wrong?

D.