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 / Suddenly DatePicker1.S...
Power Apps
Unanswered

Suddenly DatePicker1.SelectedDate does not validate against format 'date'

(1) ShareShare
ReportReport
Posted on by 432

Hello All,

 

I've been working on an App which works with several flows. Now I have gone through the trouble to put the app and all flows into a solution.  While doing this (since you can't import manually triggered flows....) I've recreated all the necesary flows however on the first one I tested it immediately went wrong..

 

Here is a put together picture that should display everything:

whyCantMicrosoftStuffJustWork.png

 

Assuming since there is only 1 argument to be passed which is a date, the error can only concern the argument _Verzenddatum.

As we can clearly tell, Datepicker1.SelectedDate is passed as the argument which has always been the case for me and had always worked prior to now.

 

Edit: it would also be great if something were to be done about this horrible bug with flow names where renaming your flow does nothing.

flowname.png

In flows my flow is named 'PostMetaDataOpslaan' as shown here in connection details; however in powerapps formula's and in this tab it shows it as named 'PowerApp->Compose,Compose2,Condition,Updatefileproperties,Update.... etc     (simply naming the actions). 

Categories:
I have the same question (0)
  • gjeh Profile Picture
    432 on at

    I've tried recreating the flow as an entirely new flow, disconnect App from old Flow, connect App to new Flow, apply parameters correctly. :

     

    same error. this is what is shown in the flow run history.

     

    Capture123.PNG

     

    nothingOfValue.PNG

    The Schema 

     

    {
     "type": "object",
     "properties": {
     "Updatefileproperties_Id": {
     "type": "integer",
     "format": "int64",
     "description": "Unique identifier of item to be updated",
     "x-ms-powerflows-param-ispartial": false
     },
     "Updatefileproperties_Aan": {
     "type": "string",
     "x-ms-powerflows-param-ispartial": false
     },
     "Updatefileproperties_Afzender": {
     "type": "string",
     "x-ms-powerflows-param-ispartial": false
     },
     "Updatefileproperties_Verzenddatum": {
     "type": "string",
     "format": "date",
     "x-ms-powerflows-param-ispartial": false
     },
     "Condition_ObjectName": {
     "type": "any",
     "description": "Choose a value",
     "x-ms-powerflows-param-ispartial": false
     },
     "Updatefileproperties_Emailbehandelaar": {
     "type": "string",
     "x-ms-powerflows-param-ispartial": false
     },
     "Updatefileproperties_Emailgeadresseerde": {
     "type": "string",
     "x-ms-powerflows-param-ispartial": false
     },
     "Updatefileproperties_Kenmerk": {
     "type": "string",
     "x-ms-powerflows-param-ispartial": false
     },
     "Updatefileproperties_Subject": {
     "type": "string",
     "x-ms-powerflows-param-ispartial": false
     },
     "Updatefileproperties_Internkenmerk": {
     "type": "string",
     "x-ms-powerflows-param-ispartial": false
     },
     "Updatefileproperties_AfzendendeOrganisatie": {
     "type": "string",
     "x-ms-powerflows-param-ispartial": false
     }
     },
     "required": [
     "Updatefileproperties_Id",
     "Updatefileproperties_Aan",
     "Updatefileproperties_Afzender",
     "Updatefileproperties_Verzenddatum",
     "Condition_ObjectName",
     "Updatefileproperties_Emailbehandelaar",
     "Updatefileproperties_Emailgeadresseerde",
     "Updatefileproperties_Kenmerk",
     "Updatefileproperties_Subject",
     "Updatefileproperties_Internkenmerk",
     "Updatefileproperties_AfzendendeOrganisatie"
     ]
    }

     

    'Learn more' leads to a microsoft page:

    https://support.microsoft.com/en-us/help/4540228/there-is-a-problem-with-the-flow-s-trigger

  • v-siky-msft Profile Picture
    Microsoft Employee on at

    Hi @gjeh ,

     

    Could you please share the detailed flow steps? Where does the argument _Verzenddatum apply?

    From the error message, we can found that it seems to be a incompatible type issue.

    Could you please share the Peek Code of PowerApps trigger to see if there is any incompatible type of arguments.

    For example:

    Snipaste_2020-07-31_17-28-29.png

  • gjeh Profile Picture
    432 on at

    Hi @v-siky-msft thanks for your reply.

    This is the peek code of my powerapps trigger : 

    {
     "kind": "PowerApp",
     "inputs": {
     "schema": {
     "type": "object",
     "properties": {
     "posttype_Value": {
     "type": "string",
     "description": "Enter initial value",
     "isPartial": false
     },
     "Updatefileproperties_Id": {
     "type": "integer",
     "format": "int64",
     "description": "Unique identifier of item to be updated",
     "isPartial": false
     },
     "Updatefileproperties_Aan": {
     "type": "string",
     "isPartial": false
     },
     "Updatefileproperties_Afzender": {
     "type": "string",
     "isPartial": false
     },
     "Updatefileproperties_Verzenddatum": {
     "type": "string",
     "format": "date",
     "isPartial": false
     },
     "Updatefileproperties_Emailbehandelaar": {
     "type": "string",
     "isPartial": false
     },
     "Updatefileproperties_Kenmerk": {
     "type": "string",
     "isPartial": false
     },
     "Updatefileproperties_Subject": {
     "type": "string",
     "isPartial": false
     },
     "Updatefileproperties_Internkenmerk": {
     "type": "string",
     "isPartial": false
     },
     "Updatefileproperties_AfzendendeOrganisatie": {
     "type": "string",
     "isPartial": false
     },
     "Updatefileproperties_BehandelaarID": {
     "type": "string",
     "isPartial": false
     }
     },
     "required": [
     "posttype_Value",
     "Updatefileproperties_Id",
     "Updatefileproperties_Aan",
     "Updatefileproperties_Afzender",
     "Updatefileproperties_Verzenddatum",
     "Updatefileproperties_Emailbehandelaar",
     "Updatefileproperties_Kenmerk",
     "Updatefileproperties_Subject",
     "Updatefileproperties_Internkenmerk",
     "Updatefileproperties_AfzendendeOrganisatie",
     "Updatefileproperties_BehandelaarID"
     ]
     }
     }
    }

     

    and this is how the verzenddatum is used in the flow (originally, i have also tried using compose and then putting the compose output in the update file properties block ; same result - the flow won't start)

    verzenddatumpje.png

    Updatefileproperties_Verzenddatum was created by selecting 'ask in powerapps'  in the orange circled field.

     

    Keep in mind that I've already had contact with support about this issue twice where I am now at the point that this issue is being escalated to 2nd line support. 

     

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Was this ever resolved I am encountering the exact issue all of sudden?

  • gjeh Profile Picture
    432 on at

    Yes, I believe what I did was to create a new environment and instead of importing the flow to that environment i recreated it inside the environment from scratch.

     

    Im pretty sure that's how I fixed it. 

  • BCLS776 Profile Picture
    8,994 Moderator on at

    I've run into this issue too -- is there any other solution than trying to do everything in a new environment?

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    This is how i fixed it Text(datacardname.selectedDate,"[$-en-US]yyyy-mm-dd")..figured it out like two weeks ago 😕

  • BCLS776 Profile Picture
    8,994 Moderator on at

    @Anonymous 

     

    That fixed it -- thank you so much!

  • Matthew_Harding Profile Picture
    16 on at

    Thank you so much, this was driving me nuts for a whole day, this solution works perfectly

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    SAME EXACT ISSUE MAKES NO SENSE!!!! But, that did fix it for me as well

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 June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 339 Most Valuable Professional

#2
11manish Profile Picture

11manish 180

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 88 Super User 2026 Season 1

Last 30 days Overall leaderboard