ODK Scan Form Designer TAB - Save to File System Error

Hello Everyone,

I have designed the ODK Scan form. When I go to File -> Save to File System, it gives me the following error.

“TypeError: base64.decode is not a function”.

I am using the ODK X Application Designer v2.1.6.

I have tried it both on Windows 7 and 10. Same problem exists.

Here’s the log
TypeError: base64.decode is not a function
at postHandler (C:\Application Designer\app-designer-2.1.6\Gruntfile.js:56:29)
at call (C:\Application Designer\app-designer-2.1.6\node_modules\connect\index.js:239:7)
at next (C:\Application Designer\app-designer-2.1.6\node_modules\connect\index.js:183:5)
at Function.handle (C:\Application Designer\app-designer-2.1.6\node_modules\connect\index.js:186:3)
at Server.app (C:\Application Designer\app-designer-2.1.6\node_modules\connect\index.js:51:37)
at Server.emit (events.js:315:20)
at parserOnIncoming (_http_server.js:789:12)
at HTTPParser.parserOnHeadersComplete (_http_common.js:116:17)

Can someone please help me in the exception that I am getting listed above.

Hi @araza,

I have not seen this error before, but my guess is its a bug in the Scan Form Designer tab and probably not a bug in your form.

Are you able to save any artifacts that I can use to try to reproduce the problem? Or at least could you take a screenshot of your form or describe the elements you added?


Hi Jeff,

Thank you for your response. Yes I have got a form that I can send over. I’ll attach it over here. You can load it as incomplete form in the’Scan Form Designer’ tab.

VisitInformation_09thApril.zip (332.9 KB)

Hi Jeff,

Have you been able to reproduce the error that I was getting. I hope the zip file that I have sent is working.