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

Why did I get API error code 10751?

Issue
PayPal returned API error code 10751 - Invalid Data - There’s an error with this transaction. Please enter a valid state in the billing address.

Cause
While using the Direct Payment or Recurring Payments APIs, you may see this error if there's an invalid value in the API's State or Province field. A valid state or province is required if the address is in one of the following countries:
  • Argentina
  • Brazil
  • Canada
  • China
  • Indonesia
  • India
  • Japan
  • Mexico
  • Thailand
  • USA

Solution
Review and correct the State or Province field.

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

Was this article helpful?

More ways we can help

How are we doing?
Take our survey

We’ll use cookies to improve and customize your experience if you continue to browse. Is it OK if we also use cookies to show you personalized ads? Learn more and manage your cookies