Calling the "imageGetBufferedImage" function with the "application.totpConfig.qrCode" argument creates the "Could not convert the value of type class java.awt.image.BufferedImage to binary" error. Removing "imageGetBufferedImage" solves the issue.
I am using is Coldfusion 2021 release.
https://github.com/coldbox-modules/totp/blob/586ea133d73482ac655fb77a46a65703412da04b/index.cfm#L38
Calling the "imageGetBufferedImage" function with the "application.totpConfig.qrCode" argument creates the "Could not convert the value of type class java.awt.image.BufferedImage to binary" error. Removing "imageGetBufferedImage" solves the issue. I am using is Coldfusion 2021 release.