How to store token in postgresql?
Your query is interpreted as

... SET access_token =
        ('l38r8cfjm31b38ye91yjn1956vr3n74tc5sc0btholj0iain77'
         and uuid='123456789')


That is, AND is treated as a logical operator, and the string constant is interpreted as a boolean literal, which causes the error.

Replace AND with , like the comment suggests.