[http] Illegal character in scheme name at index 0

I’m trying to use the HTTP binding to set and obtain status on another device. The first thing I’m trying to do is to get a string from the device I’m planning to control. The code for the thing and channel is:

UID: http:url:FeatureSummary
label: Get Features
thingTypeUID: http:url
authMode: BASIC
ignoreSSLErrors: true
refresh: 30
commandMethod: GET
contentType: application/json
timeout: 3000
bufferSize: 2048
location: Outside

  • id: FeatureSummary
    channelTypeUID: http:string
    label: Feature List
    description: “”
    mode: READONLY
    stateExtension: features
    stateTransformation: REGEX:(.*?)

However, I’m getting the following error. I read through the posts but it is still unclear what is causing this issue.

[ttp.internal.http.RefreshingUrlCache] - Creating request for '' failed: Illegal character in scheme name at index 0:

try adding http:// or https://

Thank you for the quickly replying. Yup, that worked. Didn’t realized I needed to add it.

1 Like