cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Teresa24486
Post Prodigy
Post Prodigy

Parse JSON throwing error : "message": "Invalid type. Expected Integer but got Number."

Hi,

I have an ID column on sharepoint which is the the out of the box column. My flow gives me the error on the ID.

 

Teresa24486_0-1660121172817.png

 

1 ACCEPTED SOLUTION

Accepted Solutions
abm
Super User
Super User

Hi @Teresa24486 

 

This is because the schema you originally generated with an integer change the schema to number.

 

Thanks



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blog
Power Automate Video Tutorials

View solution in original post

2 REPLIES 2
abm
Super User
Super User

Hi @Teresa24486 

 

This is because the schema you originally generated with an integer change the schema to number.

 

Thanks



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blog
Power Automate Video Tutorials
LebogangMaubane
Advocate II
Advocate II

Hi, In your schema you can try to accommodate both integer and number to avoid having similar error. You can change the integer that was expected by writing number in the schema, but i prefer accommodating both in case, you can do this by writing this ID : ['integer','number'].

 

Kind regards 

Helpful resources

Announcements
 WHAT’S NEXT AT MICROSOFT IGNITE 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Register for a Free Workshop.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

September Events 2022

Check out all of these events

Attend in person or online, there are incredible conferences and events happening all throughout the month of September.

Users online (3,652)