1

i am on sharepoint online and i downloaded and used pnp search result V4 last week and it worked .

Since 2 days it didn't work anymore and i got a Error 500 each time i try to used it and to put it on a page. i don't understand why i didn't touched anything.

To reproduce that i created a new page and put the pnp search result and i still got the error 500 and the web part location ,i try on firefox and chromehere is the picture of my page now.

Do you have any idea?

3
  • HTTP 500s are server-side errors and will need to be t-shot by Microsoft. Open a support case on admin.microsoft.com. It should be no cost to you (just your time... possibly soul). Commented Apr 2, 2022 at 6:23
  • @TrevorSeward Maybe a problem of right because now with administrator right i can do it again seems ive lost them this week. i will write to microsoft to know whats hapenned exactly thanks to the correlation id. thanks Commented Apr 4, 2022 at 17:27
  • i opened a support case on Microsoft they called me and told me that i couldn't do nothing about it ,it was a bug and then they fixed it on their side. End of the story thanks Commented Apr 15, 2022 at 10:50

1 Answer 1

0

I was getting same error on SPFx search web part when a user searched for some specific search query.

In my research to fix this problem I landed on this blog.

It rightly pointed me to the problem, which is the sort order property of the SPFx web part. It was configured the search results web part to a Managed Property which did not had a flag of "Sorting" set to true (a non sortable property).

enter image description here

On removing the incorrect property or replacing it with a sortable managed property problem got solved.

In your case I would check which property is used for sorting and confirm it's attributes on Search Schema.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.