Welcome to the nuBuilder Forums!

Register and log in to access exclusive forums and content available only to registered users.

sending Emails jquery invalid unexpected token

Questions related to using nuBuilder Forte.
Post Reply
stevenmiller
Posts: 25
Joined: Mon Jul 06, 2020 4:23 pm
Has thanked: 3 times

sending Emails jquery invalid unexpected token

Unread post by stevenmiller »

Hello,
when I try to send emails with the testing function, now this is shown in console:

Uncaught SyntaxError: Invalid or unexpected token
at Object.successCallback (nuajax.js?ts=20250529151559:397:20)
at c (jquery-3.7.1.min.js?ts=1:2:25304)
at Object.fireWith [as resolveWith] (jquery-3.7.1.min.js?ts=1:2:26053)
at l (jquery-3.7.1.min.js?ts=1:2:77782)
at XMLHttpRequest.<anonymous> (jquery-3.7.1.min.js?ts=1:2:80265)

DB V.4.7-2025.05.25.00
Files V.4.7-2025.05.26.06
kev1n
nuBuilder Team
Posts: 4292
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 71 times
Been thanked: 444 times
Contact:

Re: sending Emails jquery invalid unexpected token

Unread post by kev1n »

Hi,

Unfortunately, I’m unable to reproduce the issue on my end.

To help identify what’s causing the syntax error, please do the following:
  1. Insert

    Code: Select all

    debugger;
    on line 397, just above

    Code: Select all

    eval(fm.callback + ';'); in nuajax.js
    .
  2. Log out of nuBuilder, then log back in and open the email test form.
  3. Open the developer console by pressing Ctrl+Shift+I or F12.
  4. Send a test email.
The debugger will stop at line 397.
Now, hover your mouse over

Code: Select all

fm.callback
— the error message should appear.
Please take a screenshot of that message and upload it to the forum.
This will help us understand why the “Uncaught SyntaxError” is occurring.

E.g. if I follow the steps above, I see this:
2025-05-29_200111.png
You do not have the required permissions to view the files attached to this post.
Post Reply