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

Bad Request error 502 on get items

Hello, I have a get items that gets at least 400 items and the "Bad request" error occurs from time to time, the problem is that I do not know why this is happening ... Sometimes it works fine, and some does not, giving this error always in the same item. The item is correct.

Does anyone know why I get this error?

 

9 REPLIES 9
abpmr_entarc
Level: Powered On

Re: Bad Request error 502 on get items

I have been seeing this all day

Dual Super User
Dual Super User

Re: Bad Request error 502 on get items

Hi @Animoroly 

 

Can you please share a screenshot of the flow actions? Can you also share what is the data type of the column "Intranet_Codigo" in your SP list?

Community Support Team
Community Support Team

Re: Bad Request error 502 on get items

Hi @Animoroly ,

 

What is the current situation on your side, I have tested on my side and cannot reproduce such a problem.

I noticed that the error message contained error code 502, which seems to be a temporary problem.

Please try to recreate a similar Flow and see if issue still exists.

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Animoroly
Level: Powered On

Re: Bad Request error 502 on get items

Hello @yashag2255 ,

 

The column "Intranet_Codigo" is a String.

Here is the flow:

 

Untitled.png

 

Where I get the error is on get items "Obter items 2"

Dual Super User
Dual Super User

Re: Bad Request error 502 on get items

Hi @Animoroly 

 

The column is of type string and in the error screenshot you first posted, you are comparing it with a number. Can you please check and confirm this. 

Animoroly
Level: Powered On

Re: Bad Request error 502 on get items

@yashag2255,

 

They are both Strings and in this get items I get 329 items and I only get this error in one of them.

abpmr_entarc
Level: Powered On

Re: Bad Request error 502 on get items

In my case, it was a Managed Metadata column that was corrupt.

Dual Super User
Dual Super User

Re: Bad Request error 502 on get items

@Animoroly Can you post the screenshot of that? You might want to check the datataype for the comparision. Yu cannot compare a string dataype with an integer datatype.

Highlighted
Animoroly
Level: Powered On

Re: Bad Request error 502 on get items

@yashag2255 

 

Yes, here is the screenshott of the error:

 

Capture.PNG

 

The 2 columns I am comparing are both String, here are the screenshots:

 

 

Capture2.PNGCapture3.PNG

Helpful resources

Announcements
firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

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 (5,684)