help with debugging a CORS error for a google cloud function

Job ID: 32406311

Budget: $10 – $30 AUD

I have set up a google cloud function that works within the GCP console but not when I am making a request with the fetch API. But I am not receiving the correct response object possibly due to CORS.