Lexical error: invalid char in json text.\n


#1

When I run query on my view it works , but when I filter key =cl|c20dea06-5be2-4afc-9aa9-513db5c0505f I have error

http://127.0.0.1:8092/default/_design/dev_test/_view/test?limit=6&stale=false&connection_timeout=60000&inclusive_end=true&skip=0&full_set=&group=true&key=cl%7Cc20dea06-5be2-4afc-9aa9-513db5c0505f; reason: bad_request (invalid UTF-8 JSON: {{error,{1,"lexical error: invalid char in json text.\n"}}, "cl|c20dea06-5be2-4afc-9aa9-513db5c0505f"})

#2

I must use string as use it in JSON , “string” not string