question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Invalid value 52 for parameter page parameter is invalid.

See original GitHub issue

Hi I have sample code:

    with open('temp_users.json', 'w') as f:
        all_data = []
        print "Searching users",
        for user in tweepy.Cursor(api.search_users,q = "ziemniaki").items():
            print ".",
            sys.stdout.flush()
            all_data.append(user._json)
        f.write(json.dumps(all_data))
        f.close()
    print ""
    return

And I got this error:
raise TweepError(error_msg, resp)
tweepy.error.TweepError: [{u'message': u'Invalid value 52 for parameter page parameter is invalid.', u'code': 44}]

And second uncaught exception:
    raise TweepError(error_msg, resp)
tweepy.error.TweepError: [{u'message': u'Rate limit exceeded', u'code': 88}]

Issue Analytics

  • State:open
  • Created 8 years ago
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

4reactions
qxxcommented, Apr 18, 2016

It seems the page parameter is not supported. Suggestion: remove ‘page’ from the docs

3reactions
tdatucommented, Oct 4, 2017

I answered this in the stackoverflow. Basically, you can use count param.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Tweepy "page parameter is invalid" error - Stack Overflow
It throws that error "page parameter is invalid". If I remove "page" parameter it works. How can i search by page? python ·...
Read more >
Solved: flow. run failed: The Method 'Run' has an invalid
run failed: The Method 'Run' has an invalid value for parameter. The company ID field is a dropdown box and is a lookup...
Read more >
API Error message - Qualys Discussions
The `-d` parameter is not recognized because there is no preceding space. Try this: curl -u "myuserid:mypass123" ...
Read more >
invalid value specified for function parameter. Function Name ...
You made a mistake when reading the date-value into your variable, as you used the data-variable for the first parameter which should be...
Read more >
Parameter Connection is either null or has an invalid value ...
x to IBM Business Automation Workflow V19.0.0.3, and enabling Case Management following step 25 in link https://www.ibm.com/support/pages/node/ ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found