INVALID_STRING_LENGTH The value of a field is either too short or too long. INVA
-
I’m in sandbox mode and looking to try to checkout with either the paypal or the paypal credit/debit card and I see this message is preventing it
INVALID_STRING_LENGTH The value of a field is either too short or too long.
INVALID_PARAMETER_SYNTAX The value of a field does not conform to the expected format.
-
This is the error message in the console log
buttons:1320 create_order_error {err: 'Error: [INVALID_REQUEST] Request is not well-forme…ding=venmo&enable-funding=venmo,paylater:2:241543', timestamp: '1657717052506', referer: 'www.sandbox.paypal.com', sdkCorrelationID: 'f459088a11869', sessionID: 'uid_659131c8f1_mti6nty6nti', …} buttonCorrelationID: "4b473fa965e6d" buttonSessionID: "uid_d68e8cfec0_mti6ntc6mtq" clientID: "AeyKkZl7Y2Nx6uxH274EhrIMD2aOoeonuWXt663c4MSEJXp1jY744JWxtOPlkjV5wQRb2BxGun_fv8SR" env: "sandbox" err: "Error: [INVALID_REQUEST] Request is not well-formed, syntactically incorrect, or violates schema. https://developer.paypal.com/docs/api/orders/v2/#error-INVALID_PARAMETER_SYNTAX https://developer.paypal.com/docs/api/orders/v2/#error-INVALID_STRING_LENGTH\n at eval (webpack-internal:///536:673:17)\n\nError: [INVALID_REQUEST] Request is not well-formed, syntactically incorrect, or violates schema. https://developer.paypal.com/docs/api/orders/v2/#error-INVALID_PARAMETER_SYNTAX https://developer.paypal.com/docs/api/orders/v2/#error-INVALID_STRING_LENGTH\n at H.error (https://www.paypal.com/sdk/js?client-id=AeyKkZl7Y2Nx6uxH274EhrIMD2aOoeonuWXt663c4MSEJXp1jY744JWxtOPlkjV5wQRb2BxGun_fv8SR¤cy=USD&integration-date=2022-04-13&components=buttons,messages,hosted-fields&vault=true&commit=true&intent=capture&disable-funding=venmo&enable-funding=venmo,paylater:2:217264)\n at Object.<anonymous> (https://www.paypal.com/sdk/js?client-id=AeyKkZl7Y2Nx6uxH274EhrIMD2aOoeonuWXt663c4MSEJXp1jY744JWxtOPlkjV5wQRb2BxGun_fv8SR¤cy=USD&integration-date=2022-04-13&components=buttons,messages,hosted-fields&vault=true&commit=true&intent=capture&disable-funding=venmo&enable-funding=venmo,paylater:2:230298)\n at JSON.parse (<anonymous>)\n at o (https://www.paypal.com/sdk/js?client-id=AeyKkZl7Y2Nx6uxH274EhrIMD2aOoeonuWXt663c4MSEJXp1jY744JWxtOPlkjV5wQRb2BxGun_fv8SR¤cy=USD&integration-date=2022-04-13&components=buttons,messages,hosted-fields&vault=true&commit=true&intent=capture&disable-funding=venmo&enable-funding=venmo,paylater:2:230161)\n at le (https://www.paypal.com/sdk/js?client-id=AeyKkZl7Y2Nx6uxH274EhrIMD2aOoeonuWXt663c4MSEJXp1jY744JWxtOPlkjV5wQRb2BxGun_fv8SR¤cy=USD&integration-date=2022-04-13&components=buttons,messages,hosted-fields&vault=true&commit=true&intent=capture&disable-funding=venmo&enable-funding=venmo,paylater:2:230310)\n at Ee.u.on (https://www.paypal.com/sdk/js?client-id=AeyKkZl7Y2Nx6uxH274EhrIMD2aOoeonuWXt663c4MSEJXp1jY744JWxtOPlkjV5wQRb2BxGun_fv8SR¤cy=USD&integration-date=2022-04-13&components=buttons,messages,hosted-fields&vault=true&commit=true&intent=capture&disable-funding=venmo&enable-funding=venmo,paylater:2:234970)\n at Ee (https://www.paypal.com/sdk/js?client-id=AeyKkZl7Y2Nx6uxH274EhrIMD2aOoeonuWXt663c4MSEJXp1jY744JWxtOPlkjV5wQRb2BxGun_fv8SR¤cy=USD&integration-date=2022-04-13&components=buttons,messages,hosted-fields&vault=true&commit=true&intent=capture&disable-funding=venmo&enable-funding=venmo,paylater:2:235089)\n at https://www.paypal.com/sdk/js?client-id=AeyKkZl7Y2Nx6uxH274EhrIMD2aOoeonuWXt663c4MSEJXp1jY744JWxtOPlkjV5wQRb2BxGun_fv8SR¤cy=USD&integration-date=2022-04-13&components=buttons,messages,hosted-fields&vault=true&commit=true&intent=capture&disable-funding=venmo&enable-funding=venmo,paylater:2:241793\n at e.try (https://www.paypal.com/sdk/js?client-id=AeyKkZl7Y2Nx6uxH274EhrIMD2aOoeonuWXt663c4MSEJXp1jY744JWxtOPlkjV5wQRb2BxGun_fv8SR¤cy=USD&integration-date=2022-04-13&components=buttons,messages,hosted-fields&vault=true&commit=true&intent=capture&disable-funding=venmo&enable-funding=venmo,paylater:2:50696)\n at https://www.paypal.com/sdk/js?client-id=AeyKkZl7Y2Nx6uxH274EhrIMD2aOoeonuWXt663c4MSEJXp1jY744JWxtOPlkjV5wQRb2BxGun_fv8SR¤cy=USD&integration-date=2022-04-13&components=buttons,messages,hosted-fields&vault=true&commit=true&intent=capture&disable-funding=venmo&enable-funding=venmo,paylater:2:241543" referer: "www.sandbox.paypal.com" sdkCorrelationID: "f459088a11869" sessionID: "uid_659131c8f1_mti6nty6nti" time: "1657717052506" timestamp: "1657717052506" token: null user_id: "uid_d68e8cfec0_mti6ntc6mtq" Prototype: Object constructor: ? Object() hasOwnProperty: ? hasOwnProperty() isPrototypeOf: ? isPrototypeOf() propertyIsEnumerable: ? propertyIsEnumerable() toLocaleString: ? toLocaleString() toString: ? toString() valueOf: ? valueOf() __defineGetter__: ? __defineGetter__() __defineSetter__: ? __defineSetter__() __lookupGetter__: ? __lookupGetter__() __lookupSetter__: ? __lookupSetter__() __proto__: (...) get __proto__: ? __proto__() set __proto__: ? __proto__()
Hello @shuangmiles
thank you for reaching out to us, we are here to help.
It sounds like an issue occurred while you were onboarding your account to the plugin. I would expect you can resolve this issue if you disconnect your account and onboard the plugin again. I would advise you to onboard the account using the connect wizard (blue button) because this will fail if any of the details are wrong that you fill in. If you connect manually your details, the chance of failure is much higher.Let me know if that resolves this issue or if we need to take a closer look.
Kind regards,
JoostOh I see, I was able to login to the sandbox upon being prompted but it said it sent an email and it hasn’t shown up in the inbox or the spam folder?
Hello @shuangmiles
I don’t think you need this email. For onboarding your sandbox account, you should only need your user id/email and the password. I think it should work if you try again. Be sure to choose the option for onboarding a sandbox account and not a live business account.
Kind regards,
JoostHello,
It has been quite some time since our last communication, so we will mark this thread as resolved. Please open a new thread if you are still facing issues or have questions that you need us to answer.
Kind regards,
Joost
- The topic ‘INVALID_STRING_LENGTH The value of a field is either too short or too long. INVA’ is closed to new replies.