Error when making requests to a neo4j API


When I am trying to run the neo4j API , I am getting the given error. I have used the correct userid & password for Authorization. Can someone help me in fixing this.

Hey @abhisar027 :wave:

There’s very little information to go off here - Are there any more details around the implementation or how this should be handling that request.

The request is returning a 200 OK with that response, is that deemed an error? What should the response be?

Your not getting an authorisation\authentication error.

It’s returning an “200 OK” status.

You don’t seem to have a body or any parameters set, so what are you actually sending to the API?

What are you expecting the response to return?

This looks like an issue with the API, or the data you are sending.

Without seeing the API specification, I doubt anyone here will be able to help unless they have specifically used that API.

Hi Mike,

Thank you for responding. I am sending a simple query in body to check total number of nodes in the database.




Your example request does not appear to have a body.

It would usually show a green dot to show the tab has content.

The documentation for this API appears to be here.

Query the database - HTTP API (

As mentioned, you are not getting an authorization error, so I suspect the issue is with the body, which should be a JSON object showing the statements that you want to execute.

It also appears that a query request to the API should be a POST method, not GET.

Can you share your body tab please, so we can see the statement you have crafted?

Here it is. I have used Post method

That is not valid JSON and does not follow the examples shown in the API documentation.

Have another look at the example requests.

Query the database - HTTP API (

If you are new to Postman or API’s in general, I would suggest a visit to the Learning Centre.

Overview | Postman Learning Center

Including the Postman Training links under “Other Resources”.


I would recommend the “Galaxy APIs 101” course first as it gets you used to the application features.

Then the “Galaxy Testing and Automation” course which teaches you how to assert the responses.

Mike, Its working fine now. Thank you so much


This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.