Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odgovori
1631 Prikazi

I am trying to send a GET request to another external API, but the call always errors out with Connection Refused. I have tested the external API endpoint in Postman, with no issues. Is there any setting in Odoo that would allow an external API request to go through?

Avatar
Opusti
Best Answer

Hi,

The connection issue may be caused by one of the following:

  1. Base URL using HTTP instead of HTTPS – If the external API only supports HTTPS, calling it over HTTP could result in a Connection Refused error. This should be updated to the correct secure endpoint.
  2. Missing or incorrect dbfilter configuration – 'dbfilter ' is mainly needed when running multiple databases to ensure Odoo routes requests to the correct database. While it does not directly control outbound API calls, a wrong configuration could cause requests to be processed in the wrong database context, potentially impacting API-related workflows

Hope it helps


Avatar
Opusti
Related Posts Odgovori Prikazi Aktivnost
2
avg. 25
2519
2
dec. 24
2292
3
feb. 25
3820
0
maj 24
46
1
apr. 24
3521