I had similar issue. I fixed it through adding code to debug (print statements, except block) and deploying many times.
In my case, the issue was with loading the exported weights from .pkl!
While training, I had used a custom function while creating DataBlock and while loading it back, if that custom fucntion is not defined, it throws an error!
You can check commit history here on my repo and you may get a better idea.