Is that the only error you get is 47. No other information is shown? I would suggest you contact Cypress on the issue by opening a support case.
Thanks for the response. I tracked down the error, which was a "badly formatted request".
It turns out that the bootload dll Cypress provide is dependent on the ConnectionStatus global variable. I'd removed it during a tidy up of the bootloader host code.