Cloud function support

I have used the documentation to create an endpoint for my app for generating iav tokens for my users to add their bank. Everything was working fine I was able to make calls to generate the tokens. I deployed it to a firebase cloud function and now it doesn’t work

The error and the code for it are here —> https://pastebin.com/rjvwuhPh

I wasn’t allowed to post if I put it in the message directly.

Thank you for any advice or ideas anyone has.

ok thank you so much It turns out this error was caused by my hosting provider blocking external network connections. It was solved by enabling my endpoint to make external network requests. It was not a problem with dwolla but the error dwolla offered made it hard to diagnose.