Error Message in Market Press Plugin

I am using the PayPal Express checkout and after setting up the api username, api password, and signature I get the following error while trying to checkout in sandbox mode:

10002 – Security error – Security header is not valid.

Any input would be appreciated.