pnp / PnP-Tools

Scripts and tools for Office 365 and SharePoint - More for IT Pro's

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Getting No Primary Results

RobertHoegner opened this issue · comments

I am getting a the following status, but no primary results. Also the query takes really long to run - any ideas? I have of course marked the checkbox for primary results in the advanced settings section.
HTTP/1.1 200 OK
Serialized Query:

Elapsed Time (ms): 87

Primary Query Results:
	Total Rows: 495
	Total Rows Including Duplicates: 503
	Query Id: 728c4f6b-8fac-4009-b633-5b7730f5db64
	Query Rule Id: 00000000-0000-0000-0000-000000000000
	Query Modification: LastModifiedTime="this year" -ContentClass=urn:content-class:SPSPeople

@RobertHoegner Can you check the raw tab for any information? I had another similar issue the other day, but have not been able to reproduce it.

Can you test to set the query to XML and perhaps use POST instead of GET in the Connection pane to see if the experience is the same?
image

thanks for the lightning fast reply @wobba "POST" did the job :) how come we need a post request here? JSON/XML works both just fine

So some issue with GET - question is why that matters. Can you compare the RAW reply for both?

I actually cannot reproduce it anymore... it works both ways now. I kinda feel a bit stupid now - haha.

Thank you for your quick assistance! @wobba

@RobertHoegner if it appears again please re-open this issue, in case there is some weird parsing error when rendering the results.