I have setup the simple boilerplate in which we make change to one column and it change the other column to UpperCase or LowerCase.
When I make the change in one column it triggers and call the method on server side error was printed on the console.
Error: Should send ‘token’ as an option or call mondaySdk.setToken(TOKEN)
I had executed it earlier it was working but now it return this error in console. When I debug the request it says shortLivedToken is undefined in the request.
Further debugging I got to know that
req.headers.authorization returns token without shortLivedToken moreover req.query is empty object
Object after decoding that token
{
“accountId”: 12xx3776,
“userId”: 32xxx852,
“aud”: “http://icy-sides-shake-205-164-153-82.loca.lt/monday/execute_action”,
“exp”: 1659191960,
“iat”: 1659191660
}