@akshuklait since you have apostrophes in there, I think it would be best to use escaped double quotes on your search strings. For example use \"Men's Socks\" instead of 'Men's Socks' or 'Men\'s Socks'
Best,
Seth.
Bulk GraphQL product export is failing when filtering by product types that contain apostrophes, such as “Men’s Socks”. The query works without escaping, but then the bulk operation completes without returning the expected bulk-operation URL/output; when backslashes are added with addslashes, Shopify returns a parse error: bad Unicode escape sequence.
Key point:
products(query: ...) search string is quoted inside the GraphQL mutation.Suggested fix:
\"Men's Socks\", instead of single-quoted values like 'Men's Socks' or backslash-escaped single quotes like 'Men\'s Socks'.Current status:
@akshuklait since you have apostrophes in there, I think it would be best to use escaped double quotes on your search strings. For example use \"Men's Socks\" instead of 'Men's Socks' or 'Men\'s Socks'
Best,
Seth.