For context i basically used the google api sheets to create my own contact form for the website (https://trendtok-bot.vercel.app/) and it works on local but when i deployed to vercel - every time a user tries to submit form details when i check the logs i see an internal 500 error message.
This is the error message I am seeing in my logs:
Error appending to sheet: Error: error:1E08010C:DECODER routines::unsupported
at Sign.sign (node:internal/crypto/sig:128:29)
at Object.sign (/var/task/.next/server/app/api/contact/route.js:23:9159)
at Object.u [as sign] (/var/task/.next/server/app/api/contact/route.js:23:11909)
at x.u (/var/task/.next/server/app/api/contact/route.js:20:9534576)
at x.n (/var/task/.next/server/app/api/contact/route.js:20:9533603)
at x.s (/var/task/.next/server/app/api/contact/route.js:20:9533184)
at x.getToken (/var/task/.next/server/app/api/contact/route.js:20:9532209)
at i.refreshTokenNoCache (/var/task/.next/server/app/api/contact/route.js:13:46332)
at i.refreshToken (/var/task/.next/server/app/api/contact/route.js:13:51859)
at i.getRequestMetadataAsync (/var/task/.next/server/app/api/contact/route.js:13:54727) {
opensslErrorStack: [ ‘error:1E08010C:DECODER routines::unsupported’ ],
library: ‘DECODER routines’,
reason: ‘unsupported’,
code: ‘ERR_OSSL_UNSUPPORTED’
}
idk
https://trendtok-bot.vercel.app/contact
2 posts - 2 participants