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 / Invalid value '' for f...
Power Apps
Unanswered

Invalid value '' for field 'Latitude', expected a number. If made on empty Site Inspection App

(0) ShareShare
ReportReport
Posted on by

I create a site inspection App, remove all records and add a new one. When I add the new one it fails and gets this error:

The requested operation is invalid. Server Response: Invalid value '' for field 'Latitude', expected a number.

 

As long as I don't remove all the existing records I can add new records, but things break down if I empy out the records first.

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

    Hi @kaeaddaar,

     

    Thanks for the feedback.

    For the error message you received, please take try to re-select the use GPS for the location part, then generate the corresponding latitude and Longitude.

    When checking with the Editform control, you may notice there are two DataCards defined for the Latitude and longitude.

    One pair is configured to invisible, the other pair is configured to hidden.

    For error messages when submit new record, submitform function would check the  Valid property of the Form (including all the card controls), and the corresponding data fields.

    For more detailed explanation, please check:

    EditForm, NewForm, SubmitForm, and ResetForm functions in PowerApps

    Further, just deleting all the data may corrupt the data structure built within PowerApps, which would then cause the submitform to check more additioanl fields. 

    If possible, please consider change the items property of gallery, use filter function to "Hide" the older records.

    Regards,

    Michael

  • StarlingElec Profile Picture
    3 on at

    The steps listed here still do not fix the basic function of the template built by microsoft. Please fix it.

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