Object Reference error on Search Results Web Parts

%3CLINGO-SUB%20id%3D%22lingo-sub-2232506%22%20slang%3D%22en-US%22%3EAccess%20Denied%20on%20Search%20Results%20Web%20Parts%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2232506%22%20slang%3D%22en-US%22%3E%3CP%3EI%20am%20trying%20to%20display%20results%20from%20Microsoft%20Search%20in%20the%20SpFx%20Search%20Results%20Web%20Part.%20All%20API%20permissions%20are%20in%20place%20for%20the%20Search%20webparts.%20However%2C%20on%20selecting%20data%20source%20as%20%22Microsoft%20Search%22%20and%20Entity%20type%20as%20%22Messages%22%2C%20the%20web%20part%20throws%20an%20error%20as%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%22Object%20reference%20not%20set%20to%20an%20instance%20of%20an%20object.%22%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhen%26nbsp%3B%20I%20select%20%22Drive%2C%20Drive%20items%2C%20Sites%22%2C%20the%20webpart%20shows%20results.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Contributor

I am trying to display results from Microsoft Search in the SpFx Search Results Web Part. All API permissions are in place for the Search webparts. However, on selecting data source as "Microsoft Search" and Entity type as "Messages", the web part throws an error as

 

"Object reference not set to an instance of an object."

 

When  I select "Drive, Drive items, Sites", the webpart shows results.

 

0 Replies