Connecting to Cloudian S3 storage failes

I am trying to setup a resource to a Cloudian S3 Object storage.
Using the Amazon S3 resource type.
I have added:
Use custom S3 endpoint and Base URL.
Used the Cloudian access key and secret key but when I run a test connection I get the following error.

Test connection failed

Unexpected close tag Line: 12 Column: 7 Char: >

Please help.