Why did I get API error code 10004?
Issue
PayPal returned API error code 10004 - Invalid argument.
Cause
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.
Solution
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.
PayPal returned API error code 10004 - Invalid argument.
Cause
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.
Solution
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?