Getting 404 Error While Trying to GET data from API using RESTClient

I installed and Run http://localhost:8080/openmrs/ which works properly. But While I am trying to GET any data from any API (Say for : http://localhost:8080/openmrs/ws/rest/v1/activelisttype) it gives me following error. I am new with openMRS development. Can you please help me to configure.

Error 404 Not Found


Problem accessing /openmrs/activelisttype. Reason:

    Not Found

Is this OpenMRS platform 2.0? Have you looked at this? http://localhost:8080/openmrs/module/webservices/rest/apiDocs.htm

I followed following Link for configuration and still getting error. Can you please give me some information or link so that I can configure it properly and start developing client side.

Just so you know the specific reason for this error, “activelisttype” was removed from the OpenMRS Platform in release 2.0. Try a resource like “location” if you’re just testing things out.

Can you please give some link’s for updated released for openMRS so that I can configure it properly. As I am new and I am confused about version’s and configuration. Thanks in advance.

Where have you downloaded from and/or what instructions have you followed so far?

Generally this is a good start:

I followed following link for set up and configuration but I am getting 404 Error if I try to GET or POST anything. Link :

Have you tried out the standalone version of the reference application 2.5?

Dear Daniel,

As I am new about openMRS so if you please provide information it will easier for me to understand.

What I wanted to do : I want to configure openMRS server side to develop client side. To develop Client side I need to do GET,POST,PUT,DELETE from openMRS REST API. As openMRS provide Backend only so which version or from which link I can get the actual Source Code Repository for openMRS Backend so that I can develop client side according to my desire.

Please help me . Thanks in advance.

If all you need is to develop a rest client, then you do not need the backend source code. Did you take a look at this?

Dear Daniel,

I need to manipulate some functionality from Backend as well. For Backend source code which repository I should follow?

And Is there any way so that I can do some chat with you.

Thanks in advance.

What functionality is it that you would like to change? Have you considered doing it in a module? Any way, the source you are looking for is at

Dear Daniel,

Thank you very much for information. Initially I cloned source code from the link you provided.

But while I am trying to GET data from an API end using POSTMAN or RESTclient I am getting 404 Not found Error. Is there any chance that I am giving wrong URL for getting data?

One more information : What is the API docs for this source code(

Thanks in advance.

Are you looking for this? As for the 404, you will need to include details of the url and data you are sending.

@abusufian92, can you verify if the module is installed in your server? (You could see this from the Manage Modules page of the legacy UI.)

@darius I cloned openmrs-core from git and when I go to http://localhost:8080/openmrs/ it says that :

" If you are seeing this page, it means that the OpenMRS Platform is running successfully, but no user interface module is installed. Learn about the available User Interface Modules

If you are a developer, you can access the REST API. (See REST documentation for clients)"

Means I installed and Configured properly. But While I am trying to access any other API end using http://localhost:8080/openmrs/ws/rest/v1/ or else according to documentation I am getting “Problem accessing and Not Found Error”.

Server Giving following Error : DispatcherServlet.noHandlerFound(1120) |2017-02-15 14:48:28,283| No mapping found for HTTP request with URI [/openmrs/ws/rest/v1/resource] in DispatcherServlet with name 'openmrs’

What Should I do now. Please Help me.Thanks in advance.

Can you give details of the exact REST call that you are making. Including parameters if any? And how you are doing it?


POST: http://localhost:8080/openmrs/ws/rest/v1/patient HEADER: Content-Type: application/json Username: admin Password: test BODY: {“gender”: “M”, “names”: [{“givenName”:“Joe”, “familyName”:“Smith”}]}

Error I am Getting: HTTP ERROR 404

Problem accessing /openmrs/ws/rest/v1/patientidentifiertype. Reason:

Not Found

Powered by Jetty:// 9.3.3.v20150827

Please Help me If you can. I am stuck with it for couple of days.

Can you paste the full failure stack trace or log at

Since you cloned openmrs-core and built from source, you need to manually install the REST web services module.

If you had downloaded a prepackaged release of the OpenMRS Platform this would already be included.

-Darius (by phone)

1 Like