• Instructions to Ask a Question

    For any assistance, please click the "Ask a Question" button and select the Pabbly product for which you require support.

    We offer seven comprehensive applications designed to help you efficiently manage and grow your business:

    Our support team endeavors to respond within 24 business hours (Monday to Friday, 10:00 AM to 6:00 PM IST). We appreciate your understanding and patience.

    🚀 Exclusive Lifetime Offers 🚀

    We invite you to take advantage of our special one-time payment plans, providing lifetime access to select applications:

    • 🔥 Pabbly Connect — Lifetime Access for $249View Offer
    • 🔥 Pabbly Subscription Billing — Lifetime Access for $249View Offer
    • 🔥 Pabbly Chatflow — Lifetime Access for $249View Offer

    Make a one-time investment and enjoy the advantages of robust business management tools for years to come.

Woo-commerce Description Gives Error for " and n character is added for \n

dataforge

Member
Issue- 1

We sync our Repairshopr with woo-commerce.

Workflow name - Repairshopr Product to Woocommerce

But if there is a " in the description is gives JSON error - IjUxNjc4NTI3Ig_3D_3D

Our product description has " many times to mention size in inches, so please let us know how to pass " in woo-commerce description.

Issue -2

So we tried to remove " and re-executed the task id but now it add 'n' for \n(new line), see the attached screenshot. How to solve this?
 

Attachments

  • 245671469_297782831922869_1367859231834146819_n.png
    245671469_297782831922869_1367859231834146819_n.png
    530.8 KB · Views: 108
  • 245623808_1181655878910216_9076023943076087405_n.png
    245623808_1181655878910216_9076023943076087405_n.png
    84.4 KB · Views: 107
P

Pabblymember11

Guest
Hey @dataforge

Because of the double quotes in the products description, the action step gets failed, because those characters break the JSON format.

So kindly avoid those characters while passing the data to WooCommerce.
 

dataforge

Member
We'd really like to be able to use " character. Is this something that is not possible at all because of json, or could we contact woocommerce and see if something could be modified on their api? would it be possible to escape the character with some code? thanks!
 
P

Pabblymember11

Guest
Hey @dataforge

If you are getting or passing the \n through the description, then you can simply escape that particular character with the help of Text Formatter.

unnamed.png


Similarly, you can use the Text Formatter to escape the ".

unnamed.png
 
Top