We are having a problem with a custom javascript app that we have included in a survey. The app outputs a string as data. When tested locally, the string is recorded properly. However, when hosted and tested on the Sawtooth server, all the output comes as “0” for some reason.
I’m looking for help to try and debug this.
We have inspected the request that is sent to the server (on Sawtooth’s server) and it seems to have a valid request being sent to the server, containing the data we want recorded.
It isn’t easy to post the code / inspected request data without revealing confidential client information. So, first I’d like to ask if anyone has experienced this problem before, or if anybody has a good theory for why it would work locally but not on the Sawtooth server?
Otherwise, please let us know what information would be most helpful to provide, and we can work on a redacted version. (Hopefully the redacting doesn’t fix the problem!)