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 / Incompatible type error
Power Apps
Answered

Incompatible type error

(0) ShareShare
ReportReport
Posted on by 23

Hi,

 

Everything on my app was working fine. I didn't have issues. Suddenly when I open the app in edit mode, I am getting bunch of errors where some are related to Incompatible type as shown below. I tried to remove all the database connection and added it again.  However, it didn't fix the problem. When I just change the variable name for example to "vadrCampaignID", it doesn't show an error. When I change it back to the original name then it shows an error. I feel like it is a bug in PowerApps and not sure why this is happening. Can someone please help me as I need to get the app back running?

Dhruv100322_0-1654134835346.png

 

Categories:
  • Verified answer
    Adrian_Celis Profile Picture
    1,652 Moderator on at

    Hi @Dhruv100322 

    This usually happens when you set another variable with the same name and then assigned that to another data type. So in your case, you may have set varCampaignID in another place in your app but assigned a number to it (but it should be text). Here's what you can do:

    1) Go to Settings > Upcoming features> Toggle On the Search feature.

    2) In the Search pane, search for varCampaignID in the searchbox and you will see all instances that you set vadrCampaignID. Review each one and make sure you assign a Text type to each one of them. Once it is all the same type, the error should go away.

    Adrian_Celis_0-1654137995178.png

    Adrian_Celis_1-1654138004272.png

     

     

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 409 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 252 Most Valuable Professional

Last 30 days Overall leaderboard