Getting error in cloud sync task with webdav - Failed to copy: read metadata failed: Can't use string ("�"...) as a HASH ref while "strict refs" in use at webdav.cgi line 105.: 500 Internal Server Error

Hello Guys,

I am using webdav for my cloudsync tasks to backup some of my folders in truenas. I am getting the below error while uploading. I can see the error from job logs.

+++
2025/05/28 16:21:16 ERROR : xxxx/rclone.conf: Failed to copy: read metadata failed: Can’t use string (“�^ʎ�F.BVg�Q�H7�h���xk�����”…) as a HASH ref while “strict refs” in use at /var/www/cgi-bin/webdav.cgi line 105.: 500 Internal Server Error
2025/05/28 16:21:18 ERROR : xxxx/http_helper.py: Failed to copy: read metadata failed: Can’t use string (“�^ʎ�F.BVg�Q�H7�h���xk�����”…) as a HASH ref while “strict refs” in use at /var/www/cgi-bin/webdav.cgi line 105.: 500 Internal Server Error
2025/05/28 16:21:56 ERROR : custom/netprobe/helpers/input_helper.py: Failed to copy: read metadata failed: Can’t use string (“�^ʎ�F.BVg�Q�H7�h���xk�����”…) as a HASH ref while “strict refs” in use at /var/www/cgi-bin/webdav.cgi line 105.: 500 Internal Server Error
2025/05/28 16:21:58 ERROR : xxxx/QtProject.conf: Failed to copy: read metadata failed: Can’t use string (“�^ʎ�F.BVg�Q�H7�h���xk�����”…) as a HASH ref while “strict refs” in use at /var/www/cgi-bin/webdav.cgi line 105.: 500 Internal Server Error
2025/05/28 16:22:06 ERROR : xxxx/logging_helper.py: Failed to copy: read metadata failed: Can’t use string (“�^ʎ�F.BVg�Q�H7�h���xk�����”…) as a HASH ref while “strict refs” in use at /var/www/cgi-bin/webdav.cgi line 105.: 500 Internal Server Error
2025/05/28 16:22:28 ERROR : xxxx/network_helper.py: Failed to copy: read metadata failed: Can’t use string (“�^ʎ�F.BVg�Q�H7�h���xk�����”…) as a HASH ref while “strict refs” in use at /var/www/cgi-bin/webdav.cgi line 105.: 500 Internal Server Error
+++

Is anybody here facing this issue?
How can I fix the issue?
Please help.