error in my code, should be simple it’s not workin...
# 🤝help
g
when i execute this code
it says falling back on workflow error
@fresh-fireman-491
@fresh-fireman-491
f
Hey there, You should start out by fixing the parts in your code that has a red underline
g
i have no idea what’s wrong with them because i read a tutorial that told me to copy and paste the code
f
You can hold your mouse over them and see the issue
i don’t even know what that means
@fresh-fireman-491 do yk what’s wrong w it?
g
ty
f

https://www.youtube.com/watch?v

=mUbejiHGksM'
@fresh-fireman-491 so there’s no more underlined red but the thing still won’t run
f
Which error is it giving you now?
i’m so confused i’m just trying to integrate it with my bland ai bot
and it’s just being weird
f
idk why it’s messed up man
f
Its not easy to tell. Can you copy the entire error message and send it here?
g
18:26:57 error card:Send a POST request to create a call with specific settings action Error executing action "inline-card:Send a POST request to create a call with specific settings.js" in flow:Main:node:bland_ai Error executing action "inline-card:Send a POST request to create a call with specific settings.js" in flow:Main:node:bland_ai [Error, Request failed with status code 429 Transpiled Code: 003 var __defProp = Object.defineProperty; 004 var __name = (target, value) => __defProp(target, "name", { value, configurable: true }); 005 async function __ROOT__() { 006 const headers = { 007 "Authorization": "my bland ai api token" 008 }; 009 const data = { 010 phone_number: workflow.phonenumber, 011 voice_id: 2, 012 wait_for_greeting: false, 013 record: true, 014 reduce_latency: true, 015 interruption_threshold: 500, 016 model: "enhanced", 017 request_data: {}, 018 voice_settings: { 019 speed: 1 020 } 021 }; 022 await axios.post("https://api.bland.ai/v1/calls", data, { headers }); 023 ; 024 } 025 __name(__ROOT__, "__ROOT__"); 026 ; return await __ROOT__(); ] {"scope":"bot-action","cardId":"card:Send a POST request to create a call with specific settings","nodeId":"node:bland_ai","workflowId":"flow:Main"}
@fresh-fireman-491
@fresh-fireman-491 new error
f
Is it still giving the old error or now just that one?
g
just that one
do u know the issue?
i guess it’s just broken
f
You can try and copy the error code and your code from the execute code card and send it to ChatGPT
g
@fresh-fireman-491
4 Views