Random Internal Error

Not sure what started this but while working on some stuff this morning this started popping up. I can’t figure out where it is coming from and all the code I have UI wise seems to still be working fine.

Anyone have tips on finding stuff like this when it has really nothing to go on?

This is our weight records: []
[An internal error has occurred]
This is our snake name: woz
This is our snake name: woz

I know at least its coming from when I click on a snake record in my List view which basically just opens up a SnakeForm in an alert box for them to look at, etc. Still trying to put print statements in different places to try and find it but not sure.

I don’t get this error when sharing out the public link: https://devball.anvil.app/#public-snake=313645483048 so I feel like its something in the alert or IndividualSnakeForm I have setup.

Any tips are appreciated.

Have you checked the app logs.

Hey,

That particular message usually indicates some uncaught Javascript error. Can you take a look at the console and see if there’s a traceback there?

This is from the app logs actually.

1 Like

This is from the console/app logs doesn’t give me much at all.

Here is what the app logs show compared to the generic internal error in the console, still not much lol.

Normally I get normal tracebacks and stuff but not this time.

This is our weight records: []
: null
This is our snake name: woz
This is our snake name: woz

It seems to only happen on this alert popup part, cause if I use my table view and click on a snake there the Individual Snake form loads and I don’t get the internal error. But the card view when I click one that uses the alert does but it uses the same IndividualSnakeForm. So I haven’t figured out yet what is broke there but that seems to be it.

Sorry, I meant the Javascript console, not the Anvil console!

ha doh I feel so dumb now. It was these stupid google ads, I think I’m just gonna get rid of those and will make my app subscription based anyways.

stack: "TagError: adsbygoogle.push() error: No slot size for availableWidth=0↵    at nj (https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js:130:453)↵    at mj (https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js:129:137)↵    at Aj (https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js:137:294)↵    at sk (https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js:168:493)↵    at Ek (https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js:177:106)↵    at Dk (https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js:176:707)↵    at Lk (https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js:188:220)↵    at https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js:185:43↵    at jf.l.ha (https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js:49:290)↵    at vf (https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js:57:409)"