Directory Plugin Signup Error

When I put all the api info in both real and sandbox, I get an error when trying to sign up for a new account on the directory site. I get this error below:

Sign Up ( error )

SetExpressCheckout API call failed.

Detailed Error Message: Security header is not valid

Short Error Message: Security error

Error Code: 10002

Error Severity Code: Error

Can you help?