Hello. I’ve been running into a bizarre issue using the API connector with the Shopify API.
Any time I send over a call to create a product, update a description, etc, the call stops and can’t be completed any time a user includes quotation marks " in the data being sent over.
I know this is because the JSON that’s being sent also uses quotes to break up information. I’ve been (rather inelegantly) using Find & Replace to remove quotes from information being sent, but it’s not ideal. Is there some way to format this information being sent so that it can process a call including the quotation marks?
For example, here is the call to create a new product on Shopify:
{
“product”: {
“title”: “”,
“body_html”: “”,
“vendor”: “Vanessa Jane”,
“product_type”: “”,
“images”: [
{
“src”: “”
}
]
}
}
Now, let’s say my user includes some information in their product description such as:
This product is 72" long
The call will go through, and then stop with an error as soon as it sees the quotes.