[IDLE] CompilationErrorException: (8,73): error CS1010: Newline in constant

I need \n in the string because without it the hash would be wrong, is there any way around this?

Here is the code that’s causing this error:

BLOCK:ConstantString
LABEL:Canonical String
  value = $"POST\n/pincode/validate/\n\nhost:\nx-amz-date:<AMZ>\nx-amz-security-token:<TKN>\n\nhost;x-amz-date;x-amz-security-token\ncc192cc420003f725ef3372836dc4fc9e8e7988791bf86a8f7ca8aea26c3f49a"
  => VAR @STRING
ENDBLOCK

As you can see I have some variables that are changing here every request and that’s why it can’t just be text… I’m out of ideas

Simply replace this “\n” with this “\\n”

Thats messing with the hash, anyways I fixed it with replace block.