[SOLVED] CalDav config issue due to illegal character

Hello everybody,

im getting a lot of additional grey hair while trying to solve this.

I have a google calendar. Problem is that in the calendar id i has the character “#”.
So i cant get this to run because i think this character is comment out the rest of my configuration. The openhab logfile is giving this error:

[WARN ] [caldav.internal.job.EventReloaderJob] - Sardine exception reading ics file: xxxxxx
com.github.sardine.impl.SardineException: Unexpected response

i have another calendar without any special characters and that one is working fine.

I hope someone can help

Have you tried escaping that character with a backslash? That is a normal first step.

1 Like

Can you simply rename the calendar so that it doesn’t have # in it?

1 Like

i cant because it’s the calendar ID from Google that includes the #

1 Like

Yes, i tried already some things like \ but i have No idea what’s correct here.

i hope you Can you tell Me? :slight_smile:

It appears caldav is using a URL. Try replacing the # with its URL encoded equivalent %23.

3 Likes

Thats it, thank you very much!

1 Like