Error code 1002 is:
Security error, Security header is not valid.
This error occurs when there is a problem with the API Credentials being used.
It can occur if you are Using Live API Credentials but have set eCart to use the paypal sandbox, or vice versa.
It can also occur if you do not accept the billing agreement with paypal after you request the api credentials.