[Capture Error API] : Request is not well-formed, syntactically incorrect, or violates schema.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi , we need to understand why we receive errors from some weeks on the "Create Order" request (via API) in live environment.
After several months of correct integration, we receive now from some weeks this error:
RESPONSE:
{
"name": "INVALID_REQUEST",
"message": "Request is not well-formed, syntactically incorrect, or violates schema.",
"debug_id": "acdd743ca6051",
"details": [
{
"field": "/application_context/return_url",
"value": "?chargeId=65115dd88743bafd46a8f893",
"location": "body",
"issue": "INVALID_PARAMETER_SYNTAX",
"description": "The value of a field does not conform to the expected format."
}
],
"links": [
{
"href": "https://developer.paypal.com/docs/api/orders/v2/#error-INVALID_PARAMETER_SYNTAX%22",
"rel": "information_link",
"encType": "application/json"
}
]
}
The request remained the same.
Could I possibly have support and send the entire log?
Thanks,
Bkn301-Tech Development Team
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Good day @bkn301
Thank you for posting to the PayPal community.
The error you have reported typically occurs due to syntax issues in the URL that you are passing. We recommend thoroughly reviewing and double-checking the URL for any syntax errors.
To assist you with troubleshooting this issue, we have provided detailed guide links below:
https://developer.paypal.com/api/rest/reference/orders/v2/errors/
INVALID_PARAMETER_SYNTAX: The value of a field does not conform to the expected format.
This will assist you in identifying possible error locations:
- application_context/locale
- payer/address/country_code
- payer/birth_date
- payer/email_address
- payer/payer_id
- payer/phone/*
- purchase_units/*
Please follow these guidelines to ensure that the URL syntax is correct, and all required fields are properly formatted.
If your still facing issues, please create an MTS ticket via - https://www.paypal-support.com/s/?language=en_US with the detailed information and error details.
Sincerely,
Kavya
PayPal MTS
If this post or any other was helpful, please enrich the community by giving kudos or accepting it as a solution.
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- "issue": "NOT_ENABLED_TO_VAULT_PAYMENT_SOURCE" in REST APIs
- Error payment in PayPal Payments Standard
- Compliance violation. flag based on the account origin ? in Sandbox Environment
- Jotform PayPal Business Integration Questions to Connect are incorrect for non-profit in PayPal Payments Standard
- Paypal Advanced Payment : 3d error in live in Sandbox Environment