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

Super User
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"

Super User
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.

Super User
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

Microsoft Flow Online Conference

Join us for a FULL day of FREE Microsoft Flow Sessions from some of the best minds in the industry!

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 Release Wave 2 Plan

Power Platform 2019 Release Wave 2 Plan

Features releasing from October 2019 through March 2020

thirdimage

Flow Community User Group Member Badge

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

thirdImage

New Flow Community Board!

Check out the new Microsoft Flow Community Blog Topic Suggestion board!

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 Flow Community Video Gallery!

Users Online
Currently online: 45 members 3,920 guests
Please welcome our newest community members: