
Error: Unexpected Character Encountered while Parsing Value: <. Path ”, line 0, position 0.
During your sync operation, you receive an error showing, Unexpected character encountered while parsing value on target application, which is Shopify here.
Cause
There might be a number of reasons for this error:
- Invalid Character in some attributes
- Data type mismatch
Resolution
The resolution is given below:
- For Invalid Character in some attributes, Check the logfiles in the snapshot and if the mapping is erroneous, you can add some functions which will help to replace/trim these characters.
These are the the list of function which can be used:
[genericlib:TrimAllCharacters(data,characters)]
[genericlib:RegexReplace(data,regex,replaceString)]
[genericlib:ReplaceAllCharacters(data,characters,replacechar)]
Check here on How to do Attribute Mapping in AEC
- For Data type mismatch use concat (#attributevalue) run resync or do the data sync.
Check here on How to Use Action filter to check data type mismatch
Leave a reply