Next_items_page

Hi Folks,

I connect to the Monday.com api from Alteryx.

I get all the first 500 records with issue but having trouble with the next 500 by using next_items_page. By using the cursor from the first 500 records, the query works well in API playground. However, when I use the same query in Alteryx, I just keep getting error messages.

When I try to query with Content-Type = “application/json”, I receive an error message for DownloadHeaders:

HTTP/1.1 500 Internal Server Error
Date: Fri, 16 Feb 2024 16:46:42 GMT
Content-Type: text/html
Transfer-Encoding: chunked
Connection: keep-alive
x-request-id: 1b0d73bf-b731-99b8-b1a0-0308cc78235e
x-runtime: 8.957594
x-envoy-upstream-service-time:…

When I try to query without Content-Type = “application/json”, I manage to get through with DownloadHeaders return “HTTP.1.1 200 OK” but I receive an error message for the DownloadData, {“errors”:[{“message”:“No query string was present”}],“account_id”:12345678}

Like I previously mentioned, the query works perfectly fine in the API playground but just does not work in Alteryx.

Here is the query that I use for the first page and works in Alteryx:

{“query”: “query{boards(ids: 123456789) {items_page(limit: 500) {cursor items {id name column_values {column {title} text value}}}}}”}

Here is the query that I use for the second page and it works in the API playground but not in Alteryx:

{“query”: “query{ next_items_page(limit: 500, cursor: “xxxxxxxxxxxxxxxxxxxxxxxxxx”) { cursor items { id name column_values {column { title} text value }}}}”}

Any help will be greatly appreciated!!

Hello there @JT99 and welcome to the community!

Would you be able to please fill this form so our team can take a look into this?

Looking forward to hearing from you via the form!

Cheers,
Matias

1 Like

Hi @Matias.Monday ,
I am facing same issue , Next_item_page is working fine in API play ground but when we are calling from .net its give same error even items_page api is given successful response first 500 recodes Please help us.

Hello there @knpashish,

It looks like for some reason your script is not recognizing your query as such.

It does not seem to be an issue connected with monday.com

Having said that, if you want you can fill this form and we can take a look to see if we can help with it.

Looking forward to hearing from you!

Cheers,
Matias