NEWBIE - Could not find a service for

I am new… and have much to learn. So I originally had been working on DREAMFACTORY (DF) in 2017, and managed to get DreamFactory’s Javascript Address Book sample app working fine.

Sidetracked - and just came back to DF after 2 years of not using it. I forgot alot, and need to re-learn alot, plus some of the DF GUI has changed. So my first usage after 2 years is to import the same sample app from Github. I used my old notes to do the configuring/setting up. I am trying to run the app from the DF Instance. So, I go to run the app from the APPS tab, and I keep getting this error:
Could not find a service for

So I spent at least an hour searching this form and Google for solutions. It seemed I should try to add the following header to my http requests and see if it helps? ‘Content-Type’: ‘application/json’

But gee whiz how to do that? Searched longer and found that out but couldn’t figure out the proper base_url.

IN SUMMARY — THIS WAS NOT MY SOLUTION.

MY SIMPLE NEWBIE SOLUTION WAS …

… Fix the PATH TO APPLICATION.
to do this…
____ CLICK to open my APP in the apps tab.
____ copy the part of the URL following the ip address or “localhost” or domain name -
for me the whole URL is…
http://127.0.0.1/files/jscript_sample_april_2019/add_javascript/index.html
____ in the field PATH TO APPLICATION, paste in this:
files/jscript_sample_april_2019/add_javascript/index.html

Now try to run and hopefully it will work!

1 Like