dowloadhandler is giving server issue but working fine in local machine. On browser, it throws .txt error file. Could this be some reactivity issue?

... I wouldn’t be able to post my code here but it is a simple downloadhandler code. Please suggest some debugging tips. I am currently able to see data tables in my R environment.

my debugging tip is that you should use browser()

Thank you for the suggestion. I was able to resolve it by using log files of app run at browser end. The server missed a temp file creation for a library I was using. Hence, it didn’t run properly.