Question
ColdFusion - "Datasource '' could not be found.
I am trying to get data from a coldfusion api but on hitting the api I get this error message:
"Message": "Datasource '' could not be found."
I have subscribed to the api and have a default application setup which can produce application/json response. The authentication used is apikey which i am using for the app that I have subscribed to and everything seems to be setup fine.
Below are details for the request when i try out the api. Can someone please suggest what could be the problem.
Request Details:
URL : [url]
Method : GET
Accept : application/json
Cache-Control : no-cache
If-Modified-Since : 0
Pragma : no-cache
Params :
api_key : [api_key]
client_key : [client_key]
Response Details:
Status : 500
content-length : 47
content-type : application/json;charset=UTF-8
Response Body:
{
"Message": "Datasource '' could not be found."
}
