@MariadeBahia When supplying code, please use a ‘Fenced Code Block’ as demonstrated here:
https://www.markdownguide.org/extended-syntax/#fenced-code-blocks
This will make it much easier for others to read.
You can see in the functions bundling that your function is found and bundled.
So the issue definitely isn’t as you originally raised:
It is bundled, it is deployed.
As I previously mentioned, it likely shows "0 new function(s) to upload" because the function is unchanged, and thus there are “no NEW functions to upload”.
We also have confirmation that it exists, because it’s generating errors as seen in the log, (which are to be expected since you’re seeing 500 error responses).
Specifically this appears to be your primary error:
May 12, 12:34:42 PM: c265cbf4 ERROR
Error processing quiz submission:
Error: The incoming JSON object does not contain a client_email field
at _JWT.fromJSON (/var/task/netlify/functions/quiz_submit.js:10911:17)
at GoogleAuth.fromJSON (/var/task/netlify/functions/quiz_submit.js:13468:18)
at GoogleAuth._cacheClientFromJSON (/var/task/netlify/functions/quiz_submit.js:13483:29)
at GoogleAuth._GoogleAuth_determineClient2 (/var/task/netlify/functions/quiz_submit.js:13787:21)
at GoogleAuth.getClient (/var/task/netlify/functions/quiz_submit.js:13667:223)
at GoogleAuth.request (/var/task/netlify/functions/quiz_submit.js:13722:35)
at createAPIRequestAsync (/var/task/netlify/functions/quiz_submit.js:17276:29)
at async Runtime.handler (/var/task/netlify/functions/quiz_submit.js:586995:5)
Your code references client_email here:
Do you have the necessary environment variables set in Netlify?