On April 27, 2024, our Sign-in and Create Account options will be unavailable from 9am-12pm ET. During this maintenance window, developer account access and free trial registration will be unavailable.

"Got Error 5 From Server"

I'm just posting this because this 'error' is pretty tough to diagnose, and I didn't see anything on it anywhere on devnet or support.

When you run the iwpt_compile.ipl command, you need several arguments:
/iw-home/bin/iwpt_compile.ipl

-pt path to presentation template

-iw_pt-dcr path to DCR (optional)

-ofile path to output the result to

-iw_include-location vpath of the area you're working in


If you specify the argument of your DCR as a DCR that exists in a read-only path (i.e. a STAGING area), the command will still generate an HTML file that gets saved in your ofile argument, but will complain that it "Got Error 5 From Server." Apparently, it needs to open the DCR in some non-read-only way, and complains.

Hope this helps the next person.