Skip to content
Discussion options

You must be logged in to vote

Hi @roeiklein -

Think I've found the problem.

We're passing params=params in our second call to QueryDevicesByFilterScroll, but the query string parameters dictionary keyword is parameters, this line will need to change to read:

response = host.query_devices_by_filter_scroll(parameters=params)

After making this change your code should execute as expected.

Side note: You do not have to provide a crafted dictionary to the parameters keyword. You can also provide offset as a keyword directly.

response = host.query_devices_by_filter_scroll(offset=offset)

Thank you for the question! 😄

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@roeiklein
Comment options

Answer selected by roeiklein
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
API usage General API usage issues and questions hosts Hosts or Host Groups issues and questions
2 participants