It works when I run it from within the API documentation page but I get the error when I try to run it from my own server(I'm using an actual access Token when I'm running it).
I'm thinking that it has something to do with the: @hubspot/api-client but I can't figure out why it doesn't work (it is installed: @hubspot/api-client": "^6.0.1-beta3" and I have tried older versions as well)