Forum Discussion

lorna's avatar
lorna
Maven
11 years ago

client request error

I'm making  abasic get call and I keep getting an error.

 

The endpoint is:

 

<#assign response = http.client.request("http://tt-internal--tst.tomtom.com/cc/kfController/SearchResult?cid=35952894&s=map").get() />
<#if response.hasError>
Error: ${response.error.message}
<#else>
Content: ${response.content}
</#if>

 

The error is error making http request: String index out of range: 0

 

I can see results looking at http://tt-internal--tst.tomtom.com/cc/kfController/SearchResult?cid=35952894&s=map in a browser though.

 

Where am I going wrong?!

1 Reply

  • Is the error message coming from Lithium or from the TomTom service?

     

    What's the full error message that you see?