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
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Community Calls Conversations

Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Users online (4,755)