Hello, im creating a bot that basically asks for a number ID and then it access to an API using the ID requested to the user, and then basically dump the info to the user.
I created 3 standard nodes, first asks for the ID and stores in workflow.sessionuserID, second node is an execute code where im trying to fetch the data through the api (api works with curl from an external server) and the last node basically says the result.
I tried many codes in the node with the execute code, using fetch, axios (i can't because it says require axios) but on any case it gives me an error "Error fetching data: {}" it doesn't shows too much info to debug so im stuck. Anyone can help me please?
I can provide the code inside the card "execute_code" if anyone wants to check it