web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Converting to bigint f...
Power Apps
Answered

Converting to bigint from integer in Power Apps

(0) ShareShare
ReportReport
Posted on by 53

Hi,

 

I have a PowerApp which calls a third party API and inserts to a table in the dataverse. This API returns a JSON file. I was able to create the flow to parse the JSON and then add to the row:

data flow.JPG

When I run the flow, I receive the following error message:

Input parameter 'item/cr41d_companyid' is required to be of type 'Integer/int32'. The runtime value '72000987248' to be converted doesn't have the expected format 'Integer/int32'.

 

Inside the Parse JSON action, the company ID is an 11 digit number. Below is the input with a red arrow pointing to the company ID:

parse JSON input.JPG

 

The company ID in the JSON schema is:

"company_id": {
"type": [
"integer",
"null"
]
},

 

The company ID field in the dataverse is of type Number:

dataverse table.JPG

 

I suspect this is because the number is 11 digits long, it's too big to be an integer (either on the JSON or dataverse level). I was wondering how do I convert this number to either a bigint or a string? For the latter, I can change the field type in the dataverse to string if needed.

 

Jason

 

Categories:
  • Verified answer
    v-jefferni Profile Picture
    Microsoft Employee on at

    Hi @JasonYeung ,

     

    Please use a big size whole number column in Dataverse:

    vjefferni_0-1681443959654.png

     

    Best regards,

  • Jason Yeung Profile Picture
    53 on at

    @v-jefferni ,

     

    Thanks for the info. I deleted and recreated the field with the big whole number. It fixed the problem.

     

    Jason

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 393 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 278 Most Valuable Professional

Last 30 days Overall leaderboard