# Could not connect to endpoint error 500

**URL:** <https://zatca1.discourse.group/t/could-not-connect-to-endpoint-error-500/8791>\
**Category:** General\
**Created:** [October 21, 2025, 1:53pm UTC](https://zatca1.discourse.group/t/could-not-connect-to-endpoint-error-500/8791 "2025-10-21T13:53:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![bahaeddine](https://avatars.discourse-cdn.com/v4/letter/b/3ec8ea/32.png) [@bahaeddine](https://zatca1.discourse.group/u/bahaeddine)\
**Post date:** [October 21, 2025, 1:53pm UTC](https://zatca1.discourse.group/t/could-not-connect-to-endpoint-error-500/8791/1 "2025-10-21T13:53:44Z")

</div>

we are facing this error in production , we’ve been using same code for 8 months .  
url = “[https://gw-fatoora.zatca.gov.sa/e-invoicing/core/invoices/reporting/single“](https://gw-fatoora.zatca.gov.sa/e-invoicing/core/invoices/reporting/single%E2%80%9C)  
response : {‘httpCode’: ‘500’, ‘httpMessage’: ‘URL Open error’, ‘moreInformation’: ‘Could not connect to endpoint’}
