cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
DarenD
Level: Powered On

400 Error: The query cannot be completed because the number of lookup columns it contains exceeds

I'm currently working on a recurring notice for a large application and I've run into the following error message when trying to run the FLOW:

 

{

  "status": 400,

  "message": "The query cannot be completed because the number of lookup columns it contains exceeds the lookup column threshold enforced by the administrator.\r\nclientRequestId: xxxxxx\r\nserviceRequestId: xxxxx"

}

 

Is there a way to either change the setting (unlikely as its O365) or filter the GetData to only pull specific fields?  Or heck, any other way to make this work? 🙂

Status Code 400 Error.png

 

2 ACCEPTED SOLUTIONS

Accepted Solutions
Charles_John
Level: Powered On

Re: 400 Error: The query cannot be completed because the number of lookup columns it contains exceed

Hi @DarenD,

 

Have you expanded the advanced setting of the Sharepoint get rows Action? You can specify a view to only return a limited number of columns.

 

Capture.PNG

 

If a view doesn't exist, go to Sharepoint and create a custom view with only the columns you need.

View solution in original post

DarenD
Level: Powered On

Re: 400 Error: The query cannot be completed because the number of lookup columns it contains exceed

Thanks @Charles_John that worked like a charm!  I just didn't know that option was available!

 

D

View solution in original post

2 REPLIES 2
Charles_John
Level: Powered On

Re: 400 Error: The query cannot be completed because the number of lookup columns it contains exceed

Hi @DarenD,

 

Have you expanded the advanced setting of the Sharepoint get rows Action? You can specify a view to only return a limited number of columns.

 

Capture.PNG

 

If a view doesn't exist, go to Sharepoint and create a custom view with only the columns you need.

View solution in original post

DarenD
Level: Powered On

Re: 400 Error: The query cannot be completed because the number of lookup columns it contains exceed

Thanks @Charles_John that worked like a charm!  I just didn't know that option was available!

 

D

View solution in original post

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors (Last 30 Days)
Users online (6,062)