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

Notifications

Announcements

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:
I have the same question (0)
  • 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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 711 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 319 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard