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 / Submitting forms: Expe...
Power Apps
Answered

Submitting forms: Expected String Error

(0) ShareShare
ReportReport
Posted on by 6

I have an app where user choices are saved across multiple screens ot one summary table. An issue that I'm runniing into is that I am constantly receiving an error where, once the form is submitted, it calls out a field and says "expected string." I can fix this by changing the excel column data type to "Number" but once I successfully submit, PowerApps changes the column back to "General" and the cycle continues if I close out of the app.

 

Anyone else notice this/have permanent fixes?

Categories:
I have the same question (0)
  • v-yamao-msft Profile Picture
    Microsoft Employee on at

    Hi amgravs2,

     

    Could you show me more details to help reproduce this issue on my side?


    I assume that your app is based on an Excel table. You have a submit button to submit data to the Excel table.


    I am not sure with this “PowerApps changes the column back to "General"”, could you show me a screenshot about it?

     

    To test this issue, I create an app based on Excel table which is stored on Dropbox. I can write data back to the data from PowerApps without issues.


    About the Excel table, I have a number column, and I configure the number column’s data type to “Number”.


    Then auto create an app based on this table, try to save data to the table, succeed. Then I go to the Excel table to check the data type, it is Number, which doesn’t change back to “General” as you mentioned.

    3.PNG

     

    Please feel free correct me if my reproduce step is different with yours. And it would be great if you could provide more details about this issue.


    Best regards,
    Mabel Mao

  • amgravs2 Profile Picture
    6 on at

    Hi v-yamao-msft

     

  • freshjerky Profile Picture
    6 on at

    Any resolution to this? I have the same issue. Thanks.

  • grizzlegrazz Profile Picture
    4 on at

    I also have the same proble

  • freshjerky Profile Picture
    6 on at

    I have been unable to find a resolution. I have an inventory report that is submitted monthly. Without fail, every month, the app fails for the users. I have to go in and change the cell types from General to Number in the excel file and then they can submit. Last month, I got an opposite message where the error said it was expected a number, the field type was a number, and the entered value was a number. That was the straw that drove me to switch back to google forms. Its not as pretty, but it consistently works.

  • CFursPApps Profile Picture
    4 on at

    Hey guys!  Dunno if any of you have since found a resolution but I think I just did, so maybe this will help future users.  I, too, was just sitting here breaking my teeth, clenching, and then it occurred to me -- If your Excel table is hosted in OneDrive, you may recall that many of the standard features are disabled and don't necessarily write back to the *true NATIVE excel file* itself.  When opening your table in OneDrive, use the "OPEN IN EXCEL" option, change the format to Number and close the native Excel file.  If you check your OneDrive-hosted table, the format will have changed as expected.  I then, on a couple of occasions now, made changes in the app which FINALLY wrote back to the table successfully AND the hosted table format remains intact as "Number."  YAYYYY! 

     

    Hope you have the same results!  

  • Masor Profile Picture
    57 on at

    I had the samen issue.

    So I Opened the Excelfile in Excel desktop (not online) and format the cells as a number.

    Save the Excel sheet.
    This wil probably fix your issue

     

    I worked for me 🙂

  • Verified answer
    econoshift Profile Picture
    7 on at

    I had exact the same issue and I think I found the solution.

    When I change the column format by selecting 'Number' with the drop down in the 'Home' menu in Excel and save the file in OneDrive, the number format will change back to 'General' eventually.

    But, if you do that by the Format Cells dialog with specifics detailed, it prevents from changing back to 'General'.  Also, it may be a good idea to do that after saving the file in your hard disk and save back it in OneDrive as @CFursPApps mentioned.

     

     

  • AAlvarez Profile Picture
    4 on at

     

    Hi everyone,

     

    I also had this issue and none of the solutions outlined in this thread was able to resolve my problem. While trying to submit a form, I got the "Number expected" error even though the datacard contained a numeric value and the excel source table was properly formated. After each incident, I noticed that the Excel table changed its format to "General" and, as one of the users posted, I went thru that issue a lot but the solution was to simply reformat the column in Excel until days ago that nothing appeared to fix the issue. After a lot of frustrations (mine and my users) I deleted the datacard in my Form and then added it again and voila!! my app is up and runing again! I hope someone finds this information useful.

    Cheers!

  • Simytech Profile Picture
    2 on at

    This problem is still present (2023), and I also deleted/added the datacard.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
wolenberg_ Profile Picture

wolenberg_ 119 Super User 2026 Season 1

#2
WarrenBelz Profile Picture

WarrenBelz 107 Most Valuable Professional

#3
Haque Profile Picture

Haque 103

Last 30 days Overall leaderboard