Fetching from `api.fiscaldata.treasury.gov` returns 525
No matter what I do, I seem to get a 525 error when trying to fetch data from
api.fiscaldata.treasury.gov
via a worker
Here is a sample url: https://api.fiscaldata.treasury.gov/services/api/fiscal_service/v2/accounting/od/debt_to_penny?sort=-record_date&limit=1
When I run the worker locally everything works fine.
Here is my request simple request just to test:
I have several other endpoints that are working correctly but here is the response:
Things I've tried:
1. Confirmed ssl is set to flexible
2. When it wasn't working on the cloudflare generated domain, I purchased and setup a custom domain via cloudflare
3. Tested hitting the endpoint from the console in a browser
4. I can copy the text from the request to the browser terminal and it works.
5. I attached a screenshot of making the request from the browser window5 Replies
@Community Champion Any help on this one? When I go to the worker playground I still seem to be unable to hit this api
?pings
Please do not ping community members for non-moderation reasons. Doing so will not solve your issue faster and will make people less likely to want to help you.
confirmed ssl is set to flexibleThat'd be the one mode you don't want haha Set it to full
I did set it to full and full strict in efforts to troubleshoot, with the same outcome.