The error we are facing is
The error is mentioned in the logs itself. The JS has (void 0) which is not recognized as a JS function.
Probably void() would work.
The code has nothing but a log statement . The JS mentioned in the external account is not getting triggered.
If the external database is not getting triggered then the issue is probably the access to it.Please see Accessing an external database
I hope this helps!
All the best,