Back to Webhook Messages
Webhook Messages

Invalid Expires At

The provided expiresAt value is invalid. The expiresAt field must be a string that can be parsed as a date (prefer YYYY-MM-DD, e.g. 2024-09-01) or a relative date expression (e.g., +1 month).

This message indicates that the expiresAt value provided in the request is invalid. The expiresAt field sets when the signal expires and is no longer eligible for trade planning. It is not an order time-in-force setting.

Prefer absolute dates in YYYY-MM-DD (for example 2024-09-01) or relative expressions (for example +1 month). Values that cannot be interpreted as a date (for example not-a-date) are invalid and the request will not be processed.

Invalid expiresAt example:

{
    "ticker": "AAPL",
    "action": "buy",
    "expiresAt": "not-a-date"
}

Valid expiresAt examples:

{
    "ticker": "AAPL",
    "action": "buy",
    "expiresAt": "2024-09-01"
}
{
    "ticker": "AAPL",
    "action": "buy",
    "expiresAt": "+1 month"
}

Ready to put Invalid Expires At to work?

Free 7-day trial

Set-up in 3 minutes

Paper account for testing

By continuing, you agree to the TradersPost Terms of Service and Privacy Policy. This site is protected by reCAPTCHA.