• Payments and Transfers
  • Disputes and Limitations
  • My Account
  • My Wallet
  • Login & Security
  • Seller Tools

Why did I get API error code 10004?

PayPal returned API error code 10004 - Invalid argument.

An invalid argument was used; for example, a PayPal feature is available only for US Dollars but the currency value is something other than USD. There are numerous causes for this error, based on the API call you're completing. See the PayPal Developer Portal for a complete list of all API call types and associated errors.

For more information on the valid arguments, you can use, see the NVP and SOAP API reference.

Review your API call to ensure you're using valid arguments.

See the Developer Portal for a complete list of NVP/SOAP API error codes.
Was this article helpful?
SetExpressCheckout API call failed (6060 views)

More ways we can help

Resolution Center
Fix transaction and account related issues
Community Forum
Join the discussion with PayPal customers
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
Contact Us
Contact customer service
Message Center
Send, receive, and view your PayPal messages
How are we doing?
Take our survey