Web Service connection issue - 400 Bad request

Problem

Hello,
we are getting below error while doing test connection for application.

Exception occurred in Test Connection.Url: https://test.api/user/v1/apps?filter_inactive=True, Message: 400 : Bad Request : {“message”: “The browser (or proxy) sent a request that this server could not understand.”} , HTTP Error Code: 400

API does not required any parameters in headers or body

Below things I have tried so far,

I have printed the request endpoint at the end of the before operation rule. I took the details from the logger and tried in postman and test rule.
-we are getting successful response when we call same API from postman .
-written a test rule to call the same API. here also we are getting response.

but this issue is happening from the application configuration configuration

anyone have any idea on this error?
Any insights or suggestions on how to further debug this scenario would be appreciated

Hi @vchaduvula

This kind of error usually comes up if the connector isn’t sending the same authentication details as Postman, or if the request format/method looks a bit different, sometimes even extra headers can cause it. Can you let me know how you’re authenticating in Postman (API key, Basic Auth, or Bearer token)? Also, please share a screenshot or snippet of your test connection setup so we can compare.