this my code
server.js
try{
const respone = await $request.invokeTemplate(“oauthValidation”, {});
}catch (error){
console.log(‘post oauth validation error’, error);
}
this my requests.json
{
“oauthValidation”: {
“schema”: {
“protocol”: “https”,
“method”: “POST”,
“host”: “login.salesforce.com”,
“path”: “/services/oauth2/userinfo?access_token=<%= access_token %>”
},
“options”: {
“isOAuth”: true
}
}
i have a local stroe access_ tocken but not working facing 400 this error
how i will fix this issue?