Title: INVALID_STRING_LENGTH &#8211; INVALID_PARAMETER_SYNTAX
Last modified: March 21, 2022

---

# INVALID_STRING_LENGTH – INVALID_PARAMETER_SYNTAX

 *  Resolved [brnwp](https://wordpress.org/support/users/brnwp/)
 * (@brnwp)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/invalid_string_length-invalid_parameter_syntax/)
 * Hi The site is [http://www.trikego.com](http://www.trikego.com) in wordpress,
   we are completing the e-commerce, I have been blocked on PayPal for a few days.
   I installed the PayPal plugin on woocommerce, using the tokens provided in the
   dashboard at [https://developer.paypal.com/developer/applications/](https://developer.paypal.com/developer/applications/)
   but choosing the PP button both from the product page and from the cart page,
   from two errors, which do not I understand where they originate from.
 * Given the ongoing criticality, the ecommerce part cannot be reached from navigation,
   but from the url [https://trikego.com/it/negozio/](https://trikego.com/it/negozio/)
   and I would ask you to do this yourself, to see the two errors, which I report
   with the 2 following images:
 * ERROR FROM PRODUCT PAGE BY CHOOSING THE PP BUTTON [https://ibb.co/nrfS0fw](https://ibb.co/nrfS0fw)
 * ERROR FROM CART PAGE, choosing PP as payment method after having correctly filled
   in the fields [https://ibb.co/dQK2610](https://ibb.co/dQK2610)
 * I have installed and compiled the plugin correctly, can you identify where the
   errors are generated? If that were the case, I would open a special user for 
   the backend of the site for you. Thanks for your support. Awaiting your reply,
   my best regards. Bruno
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Finvalid_string_length-invalid_parameter_syntax%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Support [Syde Niklas](https://wordpress.org/support/users/niklasinpsyde/)
 * (@niklasinpsyde)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/invalid_string_length-invalid_parameter_syntax/#post-15501337)
 * Hi [@brnwp](https://wordpress.org/support/users/brnwp/),
 * The manually entered API credentials are incorrect. Specifically, the Client 
   ID provided in invalid. If you are not sure which credentials are needed, then
   please try connecting your account with the onboarding wizard as described in
   the documentation: [https://woocommerce.com/document/woocommerce-paypal-payments/#connect-paypal-account](https://woocommerce.com/document/woocommerce-paypal-payments/#connect-paypal-account)
   
   This will automatically create a new REST application and insert the appropriate
   credentials for you. This is the best way to avoid issues with invalid credentials.
   Thanks!
 * Kind regards,
    Niklas
 *  Plugin Support [Syde Joost](https://wordpress.org/support/users/joostvandevijver/)
 * (@joostvandevijver)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/invalid_string_length-invalid_parameter_syntax/#post-15570729)
 * Hello,
 * since we have not heard back from you we will mark this thread as resolved. Please
   open a new thread if your continued support is required.
 * Kind regards,
    Joost

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘INVALID_STRING_LENGTH – INVALID_PARAMETER_SYNTAX’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce-paypal-payments/assets/icon-256x256.png?rev=
   3234615)
 * [WooCommerce PayPal Payments](https://wordpress.org/plugins/woocommerce-paypal-payments/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce-paypal-payments/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-paypal-payments/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-paypal-payments/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-paypal-payments/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-paypal-payments/reviews/)

 * 2 replies
 * 3 participants
 * Last reply from: [Syde Joost](https://wordpress.org/support/users/joostvandevijver/)
 * Last activity: [4 years, 1 month ago](https://wordpress.org/support/topic/invalid_string_length-invalid_parameter_syntax/#post-15570729)
 * Status: resolved