Discussions

Ask a Question
Back to All

List Attendance Periods 500 Error

If I fetch attendance-periods, I'll get a 500 internal server error when the result contains a record that has status CONFIRMED.

curl --request GET  
     --url 'https://api.personio.de/v2/attendance-periods?limit=100&status=CONFIRMED'  
     --header 'Beta: true'  
     --header 'accept: application/json'  
     --header 'authorization: Bearer XXXXXXXXXXXXXXX'

{
  "personio_trace_id": "0972d60e-480e-47d6-91dc-02fa9e21ed8b",
  "timestamp": "2025-05-06T15:29:53Z",
  "errors": [
    {
      "title": "Internal Server Error",
      "detail": "The request cannot be completed due to internal server error.",
      "type": null,
      "_meta": {}
    }
  ]
}

However, if I filter by status=PENDING, I'll get a valid result with 2xx status.