In My project with Google calendar api getting error message when trying to authenticate using the code that given by the url
Error message
Error while trying to retrieve access token { Error: invalid_grant at Request._callback (C:\Users\PC\Desktop\New folder\node_modules\google-auth-library\lib\transporters.js:81:15) at Request.self.callback (C:\Users\PC\Desktop\New folder\node_modules\request\request.js:188:22) at emitTwo (events.js:106:13) at Request.emit (events.js:191:7) at Request. (C:\Users\PC\Desktop\New folder\node_modules\request\request.js:1171:10) at emitOne (events.js:96:13) at Request.emit (events.js:188:7) at IncomingMessage. (C:\Users\PC\Desktop\New folder\node_modules\request\request.js:1091:12) at IncomingMessage.g (events.js:292:16) at emitNone (events.js:91:20) code: 400 }
What the reason for getting the error message and how can i resolve this issue?