Describing the issue I'm facing: I am currently working on setting up a Firebase function that uses Express to act as an intermediary between a user's browser and the Notion API. I have put together some code for basic functionality, which can be found here. This code works flawlessly with the local emulators provided by Firebase. I have tested both routes locally and they are being served correctly without any errors.
However, when I attempt to deploy the function everything goes smoothly. Yet, upon accessing the route, it returns a 403 error page. There are no other errors logged, only this "Error: Forbidden" message.
I'm wondering if I overlooked something obvious or if I am trying to use these functions in a way that they were not designed for?