Pete Freitag Pete Freitag

ColdFusion returning empty response with server-error: true

Published on February 15, 2019
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 /api or /rest URIs. You will get a empty response, the only clue is a http response header that says: server-error: true

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 api rest

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.

Try Fixinator

The weekly newsletter for the CFML Community