{ status: 400, message: 'Invalid authorization code' }

that was the response from oauth2/authorize

{
code: ‘n61ps7fvucwkfu708vpam6nb6xtozt’,
scope: ‘user:read:email’,
state: ‘qbf17d9ernqbf17d9ern’
}

I used the code from response