ColdFusion returning empty response with server-error: true
By Pete Freitag
I see this issue catch a lot of people, and it got me today. If you have a file
/api/test.cfm on ColdFusion 10 or greater it might not work due to ColdFusion's REST implementation controlling the
/rest URIs. You will get a empty response, the only clue is a http response header that says:
The irony is that I remember telling Adobe in pre-release that this will catch people off guard, I suggested that they should pick a URI that is not so commonly used. I understand why they kept it, but it causes some havoc every now and then.
ColdFusion returning empty response with server-error: true was first published on February 15, 2019.
If you like reading about coldfusion, api, or rest then you might also like:
The Fixinator Code Security Scanner for ColdFusion & CFML is an easy to use security tool that every CF developer can use. It can also easily integrate into CI for automatic scanning on every commit.