Modify path on errors payload to be a single backslash