A 10002 error indicates that the API Account Name, API Account Password and API Certificate aren't matching. Double check each of those. You might try re-downloading your API certificate. Make sure you are using your API password which is different from your regular PayPal account password. And make sure you are you are using the appropriate site, either the sandbox or the live site.