Field boards doesn't accept argument 'pageint'

Hi, I’m trying to use the pagination in my API query and getting the error message “Field boards doesn’t accept argument ‘pageint’”

I’m not sure what the issue is, perhaps someone can help. My query is as follows:
query = '{boards (limit:5000, newest_first:true, pageint:2 ) {name workspace{name id}}}'

Thank you!

Hello @gtct001 ,

The reason may be that, you are spelling the argument incorrectly. It’s supposed to be pageInt not pageint

Hi, thanks for the reply, but it doesn’t work either. I get this error instead.

{'errors': [{'message': "Field 'boards' doesn't accept argument 'pageInt'", 'locations': [{'line': 1, 'column': 41}], 'fields': ['query', 'boards', 'pageInt']}], 'account_id': 4966783}

Hey @gtct001 – it was a typo in our docs. We’ve gone ahead and updated it. Apologies!

The correct argument is page and the type is Int. Somehow they got combined in our documentation editor.

@gtct001 highly reccomend you try the Monday library, it will make your life much easier
pip install monday