To resolve the internal server error when calling Dynamics NAV 2015 OData from Power Automate:
1. Check NAV Web Services Setup:
Ensure the OData web service is published and accessible via the NAV Web Services page.
Verify the service URL is correct and uses the right OData endpoint (e.g., /OData/Company('YourCompany')/YourService).
2. Authentication:
NAV 2015 typically uses Windows Authentication or NavUserPassword.
Power Automate’s HTTP action must include proper authentication headers matching NAV’s setup.
If using NavUserPassword, confirm the user is enabled and has permissions.
3. Gateway Configuration:
Although your gateway works with SQL, confirm that it supports calls to NAV OData endpoints.
The gateway must be configured to allow HTTP/HTTPS requests to NAV.
4. Firewall and Network:
Make sure NAV server firewall or proxy allows incoming requests from the gateway.
Test NAV OData URL directly in a browser or Postman to verify it’s accessible externally.
5. Service Tier Logs:
Check the NAV Service Tier logs for detailed error messages when the request hits NAV.
Mark the checkbox below if this answers your question.