Apps Script API returning 404 error for existing project. Error returned as HTML rather than JSON
问题 I was attempting to run an Apps Script function using the Apps Script API. I set up the script in the console, and created an oauth client ID for the script. I configured the authorisation screen and deployed the script as API executable. I tested the api function calling in the same script but got a 404 error saying: The Requested URL /v1/scripts/{{my_script_id}}:run was not found on this server. The response came back as HTML. I also noticed that the script seems to make it's own client ID