Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

Group Check/Apply Damage Not Working

Hi, so I'm fairly new to fixing APIs myself but I have been using them for a couple of years now. For some reason the Apply Damage API isn't working anymore and is crashing the moment I click Apply Damage. I know it's connected to Group Check so that's why I added that into the topic title. I'll paste the generated error message below but if anyone can tell me what the problem is and how to fix it-- that would be great! TypeError: attrValue.match is not a function TypeError: attrValue.match is not a function at apiscript.js:3298:29 at String.replace (<anonymous>) at processFormula (apiscript.js:3292:27) at processTokenRollData (apiscript.js:3324:46) at apiscript.js:3579:24 at Array.map (<anonymous>) at handleRolls (apiscript.js:3578:45) at handleInput (apiscript.js:3618:63) at eval (eval at <anonymous> (/home/node/d20-api-server/api.js:181:1), <anonymous>:65:16) at Object.publish (eval at <anonymous> (/home/node/d20-api-server/api.js:181:1), <anonymous>:70:8)
What game are you playing?  What character sheet(s) are you using?  Is this is a Julpgate or legacy game?  Do you have the Experimental Sandbox turned on? 
Jarren said: What game are you playing?  What character sheet(s) are you using?  Is this is a Julpgate or legacy game?  Do you have the Experimental Sandbox turned on?  D&D 5e 2014 Monster Blocks Jumpgate I currently have it on default
1736722981
The Aaron
Roll20 Production Team
API Scripter
The only reference in GroupCheck to attrValue.match() is inside a block that should only activate if you're using the shaped sheet (or have configured it for the shaped sheet).  Is it possible you imported the wrong sheet defaults?
1736787279
Tintin_discord
Pro
Marketplace Creator
I am having a similar problem with Group Check. I made no changes but all the sudden, it stopped working in multiple games when it had worked previously.    TypeError: attrValue.match is not a function TypeError: attrValue.match is not a function at apiscript.js:1910:29 at String.replace (<anonymous>) at processFormula (apiscript.js:1904:27) at processTokenRollData (apiscript.js:1936:46) at apiscript.js:2191:24 at Array.map (<anonymous>) at handleRolls (apiscript.js:2190:45) at handleInput (apiscript.js:2230:63) at eval (eval at <anonymous> (/home/node/d20-api-server/api.js:181:1), <anonymous>:65:16) at Object.publish (eval at <anonymous> (/home/node/d20-api-server/api.js:181:1), <anonymous>:70:8)
Hi, was anyone able to debug? I am getting the same error with group check. Character sheet is DND 5e 2014 By Roll 20. On Jumpgate. On Default TypeError: attrValue.match is not a function at apiscript.js:3298:29 at String.replace (<anonymous>) at processFormula (apiscript.js:3292:27) at processTokenRollData (apiscript.js:3324:46) at apiscript.js:3579:24 at Array.map (<anonymous>) at handleRolls (apiscript.js:3578:45) at handleInput (apiscript.js:3618:63) at eval (eval at <anonymous> (/home/node/d20-api-server/api.js:186:1), <anonymous>:65:16) at Object.publish (eval at <anonymous> (/home/node/d20-api-server/api.js:186:1), <anonymous>:70:8)
I am having the same problem with GroupCheck in a Jumpgate game using 2014 5e sheets.  I have tried both the default and experimental sandbox.  Note that this was working as recently as December under the same conditions.
Also, I have commented out the section that Aaron mentioned referring to the shaped sheet.  It will now roll for all tokens but does not add their modifiers and sends out an errors like this: "Error: No attribute or sheet field found for character_id -NocdRwWPEW_XNKPFNEl named strength_saving_throw_formula"