error occurred
# 🤝help
f
hello guys can you please help me understand what does this error mean and how to solve it? An error occured while running Execute Code card: Cannot read properties of undefined (reading 'toString') Transpiled Code: 003 var __defProp = Object.defineProperty; 004 var __name = (target, value) => __defProp(target, "name", { value, configurable: true }); 005 async function __ROOT__() { 006 const coin = event.payload.text; 007 const response = await axios.get(
https://api.coingecko.com/api/v3/simple/price?ids=${coin}&vs_currencies=usd
); 008 const value = _.get(response,
data.${coin}.usd
); > 009 workflow.COIN = value.toString(); ^^^^^^^^^^ 010 } 011 __name(__ROOT__, "__ROOT__"); > 012 ; return await __ROOT__(); ^^^^^^^^^^
f
Hey there, Could you share all of your code here from your execute code card
f
Wdym?
f
It seems like the issue came from one of your execute code cards. Could you share the code from that one?
My guess is that it means that the
value
variable is not being correctly assigned a value from the response from the get request, but being able to take a look at all of your code would help me to understand it a bit better.
f
so what do you want ,e to send you the execute code?
f
Can you send me all of the code from the execute code card, except any secret information
f
Mind if I DM u?
@fresh-fireman-491
f
Why not just continue it here?
f
I got it dont need you any longer
4 Views