When i am trying to access external API Using sp_invoke_external_rest_endpoint , It gives an error
Connections to the domain abc.com are not allowed.(abc.com is not the correct domain , Domain i am not able to provide)
Can anyone know this please Reply

Amit MohantyPosted Mar 12, 2024, 8:44 AM
Ensure that the firewall rules for your Azure SQL Database allow outbound connections to the domain you're trying to access via the REST endpoint.
Jayraj ChhayaPosted Mar 12, 2024, 6:20 AM
When facing the error message stating that connections to a particular domain are not allowed, it typically indicates a restriction set by the external API provider. To resolve this issue, ensure that the domain you are trying to access is whitelisted by the API provider. If you are unable to provide the specific domain name, consider reaching out to the API provider for assistance or clarification on the allowed domains for integration. Additionally, verify that the URL you are using in the
sp_invoke_external_rest_endpointprocedure is correct and matches the allowed domains specified by the API provider.