Skip to content

Commit

Permalink
feat(docs): add FAQ section for product-exporter - SUPPORT-27483 (#1900)
Browse files Browse the repository at this point in the history
  • Loading branch information
kafis authored Jul 16, 2024
1 parent 3a641e3 commit 1ff4cdd
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions docs/cli/product-exporter.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,3 +117,18 @@ outputStream.on('finish', () => process.stdout.write('done with export'))

productExporter.run(outputStream)
```

## FAQ

**Q: Windows CLI - Product export fails with Malformed parameter: where: Syntax error while parsing 'where'. Invalid input 'd', expected input parameter or primitive value**

**A:** Make sure to use proper windows escaping sequences for encoding special characters.

On windows cli you can escape special characters by enclosing them with `"""`.

Example for query predicate

```
--predicate 'productType(id="ddddddd-fa0d-433f-b531-da12ddc84911")' # unescaped
--predicate 'productType(id="""dddddd-fa0d-433f-b531-da12ddc84911""")' # correctly escaped
```

0 comments on commit 1ff4cdd

Please sign in to comment.