Hello all,
I´m not able to get theprocess.env.APIKEY on serverless functions locally.
I´ve added the APIKEY through hs secrets add command:

After running the local server secrets env are all set:
On the code I´m loggin the APIKEY and the API response to some request:

Since APIKEY is undefined the hapikey is not present in the query params.
That´s the result I get:

Anyone also having this issue?
Thanks,
@RobertMarinho ,
Are you still having issues with this?
@dennisedson
I´m not having issues with this anymore.
I´m wondering If It was just a problem on my end.
I´ve updated @hubspot/cli from 3.0.8 to 3.0.9. and It started working again.
Thanks,
For others, be sure to CAPITALIZE your environment variable names and you can also find the secret in the context parameter of exports.main, if process.env is not working for you.
lol
Never watched It. That was funny.
Thanks for sharing!