My Oracle Support Banner

Connection Refused And 400 Bad Request Received by Oracle API Gateway Service (Doc ID 2812725.1)

Last updated on OCTOBER 10, 2022

Applies to:

Oracle API Gateway - Version and later
Information in this document applies to any platform.


Receiving "400 bad request" error while invoking a target service through OAG.

The following message is being returned:

Unable to access the URL
Error: Connection refused and 400 Bad Request

ERROR:Exception in request: org.apache.http.conn.HttpHostConnectException: Connection to <SERVICE URL> refused


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.