Question about what could be causing this error message: Code generation from strings disallowed for this context

Hi,

I was able to setup a urlfetch call by following the thread below:

here is the code I’m using for my command:

I am getting a new error message which is:

Code generation from strings disallowed for this context.
The code is the same as below

$(eval w=$(urlfetch json https://www.helbreath.net/top-eks);r=w.slice(w.search(/Brosky/gi),w.indexOf(<tr,w.search(/Brosky/gi))).slice(55,75).replace(///g,).replace(/<td>|<tr>|td>/g,); )

Thank you for any help provided!

Hey @Dan_Huang!

To me it seems like it just takes some time for the website to update, so that’s not something any of us can have an influence on, sorry.
Nightbot will pull the current/latest version of the website every time the command is called, it doesn’t store any variable data in a memory, so it can’t get “stuck” on a specific value.

1 Like

Are you using Pastebin Dan_Huang? Because I am currently getting the same issue and it is only on my Pastwbin commands.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.