Neo4j REST API returning 403 Forbidden when called from ServiceNow REST Message
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
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/commitAuthentication: 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!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
error 403 means the authentication user doesn't have access to the requested resource
is it working from Postman?
If yes then check the instance IP and give it to Neo4j so that they can add that IP and allow incoming traffic to their API
Finding the IP address information for your instance
If not working from Postman then it means some other issue
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 weeks ago
Yes, it is working from Postman.
Thank you for your guidance. I will verify the ServiceNow instance IP and configure it in Neo4j to allow inbound API access.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 weeks ago
Thank you for marking my response as helpful.
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
