Neo4j REST API returning 403 Forbidden when called from ServiceNow REST Message

sachinsspan
Mega Contributor

Hi Community,

I’m trying to integrate Neo4j AuraDB with ServiceNow using an Outbound REST Message, but I’m getting a 403 Forbidden error on every request.

Here are the details:

  • Method: POST

  • Endpoint:
    https://<instance>.databases.neo4j.io/db/neo4j/tx/commit

  • Authentication: Basic Auth (Neo4j username + password)

Error returned in ServiceNow Test Run:

HTTP Status: 403
Error Message: Method failed: (/db/neo4j/tx/commit) with code: 403 - Forbidden username/password combo
Response:
<html><body><h1>403 Forbidden</h1>
Denied by administrative rules.</body></html>

The same Neo4j credentials work correctly when used in Neo4j Browser and other API tools, but from ServiceNow it always fails.

Things I have already checked:

  • Username and password are correct

  • Neo4j instance is running and reachable

  • Endpoint URL is correct

  • Using Basic Authentication in REST Message

It looks like either:

  • Neo4j Aura is blocking ServiceNow IPs, or

  • ServiceNow is not sending the Authorization header correctly

Has anyone successfully connected Neo4j AuraDB with ServiceNow REST Message?
Any guidance on headers, authentication format, or firewall/IP allow-listing would be really helpful.

Thanks in advance!   

0 REPLIES 0