Why did I get API error code 81002?

We return this NVP/SOAP API error when we identify your provided method as “unspecified” due to detected coding errors.

Debug your code for possible solutions. Here's how:

  • Don't use urlencode + http_build_query because this will result in double encoding.
  • Check that you aren't using a semicolon (;) as a separator. We support use of only ampersands (&) as separators.
  • Review your code to ensure that none of the variables have been deprecated.

See the Developer Portal for a complete list of NVP/SOAP API error codes.

More ways we can help

Resolution Center

Fix transaction and account related issues

Tax center

Get your 1099-K and other tax info here

Business Help

Get help with using any of our PayPal products

Technical Help

Find out how PayPal works for your business

Message Center

Send, receive, and view your PayPal messages