I have a deployed application in app script. But when making a post request to this API, I receive a 401 error.
No information is logged. That is, the request doesn’t even reach the app script. The post request itself works.
I created a new deployment several times, created a new account and tried to create a new apps script code on it. I tried the recommendations from this question Google Drive Page Not Found – Sorry, unable to open the file at this time. But it didn’t help me.
I write to the logs like this: