Error in 'Create a new UserOnBoardingProfile': Value should be a date but right now it is a text – how to fix field type mismatch?

Error in ‘Create a new UserOnBoardingProfile’: Value should be a date but right now it is a text – how to fix field type mismatch?

App context:
I’m building an onboarding flow for users in my app (Guardian – AI attention guardian SaaS). After signup, users complete a quiz, and I create a new thing in a custom data type called `UserOnBoardingProfile` (linked to the User via a field on User or vice versa).

The problem:
In the workflow (on button click or page load after quiz), I have a “Create a new thing” action for `UserOnBoardingProfile`. One field (e.g., `onboarding_date`, `quiz_completed_date`, or similar) is set to type **date** in the data type, but when I try to set it to something like `Current date/time` or a calculated date, Bubble shows an error saying:

“Value should be a date but right now it is a text”

App is in early MVP stage (no massive data yet), so migration is doable. Any help or similar threads appreciated!

Thanks!
Erin

Hi @anon15274164 :waving_hand:

Are you formatting the date when saving it?
If your field is date type, it should accept “current date/time”.

Can you share any screen shot? Or video?

Thanks!