Home
  • Payments and Transfers
  • Disputes and Limitations
  • My Account
  • My Payment Methods
  • 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

If you accept cookies, we'll use them to improve and customise your experience and enable our partners to show you personalised PayPal ads when you visit other sites. Manage cookies and learn more