projectTypeId nur sporadisch gesetzt

In der Web-Oberfläche und in der App sind für alle Projekte die Projekt-Typen gesetzt.
Über die API erhalte ich aber nur für ca. 1/3 der Projekte eine projektTypeId
in ca. 1/3 der Fälle erhalte ich direkt auf oberster Ebene:

projectTypeId

Wenn der Wert projectTypeId gesetz ist, dann gibt es meist auch das projectType Objekt

projectType":{"isArchived":false,"icon":"code","name":"Entwicklung","id":"0384d271-c07f-4a1b-80f8-c9ea282a841c"}

Aber bei mehr als der Hälfte der Projekte ist keines von beiden im Objekt vorhanden.

Das Problem besteht für die Projekte egal ob sie über die Liste

/projects

oder für die fraglichen Projekte nochmal einzeln nochmal zusätzlich über

/projects/projectId

Ich habe jetzt einen Tag damit verbracht meinen Code zu debuggen bis ich nun sicher bin, daß schon die API die Daten nicht liefert.
Gruß
Andreas Brus

Hi @andreas.brus and welcome to the community. Can you share the trace id of an example so we can check what is going on? Thank you!

Just checking the API docs, it seems like the project type is optional, so projects can be created without a type. This would explain that not all projects have a projectTypeId or projectType set. Projects | awork API | Documentation

In the UI, it is also possible to create projects without a type. So you cannot rely on this information being present.

Can you explain what you are trying to achieve?