Seeing the same thing as everyone else. The documentation says contradicting things like /connect vs /authorize. No details on what needs to be sent to /token, and I get an unhelpful error that I can’t lookup anywhere:
{
"error": {
"message": "Invalid OAuth 2.0 Access Token",
"type": "MLYApiException",
"code": 190,
"error_data": {},
"fbtrace_id": "A9-7asFpQ0nlkaMYtAn-YNE"
}
}
When I tried the following:
const authResponse = await fetch(`https://graph.mapillary.com/token`, {
method: 'POST',
body: JSON.stringify({
code: req.query.code,
client_secret: '..',
access_token: 'MLY|...|...',
}),
});