Sparx Systems Forum

Enterprise Architect => General Board => Topic started by: ea0921 on July 09, 2025, 11:09:00 pm

Title: EA API returns null for Package.Element despite valid database entries
Post by: ea0921 on July 09, 2025, 11:09:00 pm
We have a package named "cappm".

In the t_package table, there is a valid entry for this package.

For the same GUID, there is also an entry in the t_object table.

However, when accessing this package through the EA API, Package.Element returns null.
Title: Re: EA API returns null for Package.Element despite valid database entries
Post by: Jan van Duuren on July 25, 2025, 10:20:58 pm
field PDATA1 in table t_object of the corresponding package should contain the package_id from the record in t_package.

You may need to run Project Integrity to find any inconsitencies in your repo.

Settings -> Model -> Integrity -> Project Integrity