79408396

Date: 2025-02-03 10:02:55
Score: 1.5
Natty:
Report link

Got the issue. You need to return not only the token but the whole string in text/plain to make it work.

functions.http('groupsHttp', (req, res) => {

    let validationToken = req.query.validationToken;

    return res.set('Content-Type', 'text/plain; charset=utf-8').status(200).send(validationToken);

});
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Ben Schleef