cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper I
Helper I

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
Highlighted
Helper I
Helper I

Re: Bad Request error 502 on get items

I have been seeing this all day

Highlighted
Dual Super User III
Dual Super User III

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?

Highlighted
Community Support
Community Support

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.
Highlighted
Helper I
Helper I

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"

Highlighted
Dual Super User III
Dual Super User III

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. 

Highlighted
Helper I
Helper I

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.

Highlighted
Helper I
Helper I

Re: Bad Request error 502 on get items

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

Highlighted
Dual Super User III
Dual Super User III

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
Helper I
Helper I

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
Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Upcoming Events

Experience what’s next for Power Automate

See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Community Conference

Power Platform Community Conference

Find your favorite faces from the community presenting at the Power Platform Community Conference!

Top Solution Authors
Users online (6,229)