The solution was found in community How to escape variables passed in URL. It needs :percentencode after the variable ${__data.fields.guid:percentencode}.
The solution was found in community How to escape variables passed in URL. It needs :percentencode after the variable ${__data.fields.guid:percentencode}.