When i try to monitor my server with pm2.io, I am getting the error [PM2 I/O] Unexpected error : Missing mandatory field refresh_token to make a POST request on /api/oauth/token
Asked
Active
Viewed 1,158 times
3
-
Same here ```[PM2 I/O] Unexpected error : Missing mandatory field refresh_token to make a POST request on /api/oauth/token``` – Gustavo Contreiras Jan 27 '22 at 14:09
1 Answers
1
Same thing has happened to me on an RHEL system (it worked fine a few months ago on another, older RHEL system). I haven't figured it out, but this post has a very simple workaround:
https://github.com/Unitech/pm2/issues/5253
Basically, login to pm.io from the browser, click CONNECT
, copy the pm link
command, and use it instead of pm login
.

vp124
- 317
- 1
- 4