Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

REST API error when adding deadline time to case creation request #178

Copy link
Copy link
@ivazsndv

Description

@ivazsndv
Issue body actions

A server error is returned when creating a case through the REST API with a deadline time. The time format "%H-%M" used is aligned with the documentation at /api.

curl -X 'POST' \
  'http://localhost:7006/api/case/create' \
  -H 'accept: application/json' \
  -H 'Content-Type: application/json' \
  -d '{"title": "example", "deadline_date":"2026-11-11", "deadline_time":"10-45"}'

Flowintel REST API response:

<html>
  <head>
    <title>Internal Server Error</title>
  </head>
  <body>
    <h1><p>Internal Server Error</p></h1>
    
  </body>
</html>

Removing this parameter from the request allows the case to be created successfully.

curl -X 'POST' \
  'http://localhost:7006/api/case/create' \
  -H 'accept: application/json' \
  -H 'Content-Type: application/json' \
  -d '{"title": "example", "deadline_date":"2026-11-11"}'

Flowintel REST API response:

{
"message": "Case created, id: 108",
"case_id": 108
}

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status
    Todo
    Show more project fields

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.