INPUT ERROR INVALID TIMESTAMP

Options

When someone fills out the input boxes on a patient registration it is supposed to transfer to Xano. I am trying to set up a custom action with Xano API (create and POST) that will add the form input onto my Xano table. I keep getting “INVALID TIMESTAMP FORMAT”

See pics below. Please help!


Answers

  • Michael Udinski
    Michael Udinski Administrator

    ADMIN

    Options

    hey @hicksmadison - One place to look is to check your input history to see what value you are passing for the created_at input.


    But, I'd actually recommend not using a created_at input and let Xano populate this automatically with the "now" timestamp I'd remove/hide the created_at input all together. You can either map the created_at field in your function to now -- or hide it and Xano will populate it for you automatically with the time the record is added.

  • hicksmadison
    Options

    The default value for the created_at is already 'now'

  • Michael Udinski
    Michael Udinski Administrator

    ADMIN

    edited February 2023
    Options

    Great so you won't need to use created_at as an input, I would remove it from your endpoint