Make user-friendly errors for API actions

Since NCPA v1.7 calling api/service and api/process is different and
would return 500 errors when users would try to access it using the old
method. The documentation has been updated in GitHub to reflect the
changes in the API methods.