Skip to content

realtimeTrends sends "Error 400 (Bad Request)!!1" when queried with certain country code #159

Description

@thoriqadillah

I have a problem that give me "Error 400 (Bad Request)!!1" when I use my country code in geo option, Indonesia (ID). Other message from the error is

</span></a><p><b>400.</b> <ins>That’s an
        error.</ins><p>The server cannot process the request because it is
        malformed. It should not be retried. <ins>That’s all we know.</ins></div>

my code :

googleTrends.realTimeTrends({
        geo: 'ID',
        category: 'all',
    }, function(err, results) {
        if (err) {
            res.send(err);
        } else {
            res.send(results);
        } 
    });

anyone has the same issue?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions