Skip to content

error AL1024: A package with publisher, name, and a version compatible could not be loaded #8268

@J0105

Description

@J0105

Hello Everyone!

I am getting the following error in VS Code while trying to run an AL extension:

error AL1024: A package with publisher '{PartnerName}', name ' {AppName}', and a version compatible with '3.25.0.31' could not be loaded. Symbols for the requested app {AppName} by {PartnerName} {VersionNo.} could not be found among this tenant's installed apps. AppGroup Id 2450'. The original extensions have been restored.

Here is the scenario:

  • We have multiple extensions deployed in the same customer tenant.
  • Different teams work on different apps/extensions.
  • I usually work on App A.
  • I noticed APP B already has added A as dependency!
  • For a particular task, I needed to use table from another extension (B), so I added it as a dependency in app.json.
  • I was able to successfully download the symbols without any issue.
  • However, the moment I try to run/publish the app from VS Code, I get the above error.

Additional details:

  • The dependent app is already installed in the target environment.
  • The installed version exactly matches the dependency version specified in app.json.
  • Symbol download succeeds, so the dependency appears to be discoverable initially.

Has anyone faced a similar issue where symbols download correctly, but publishing/running fails with AL1024?

Any suggestions on what could cause this mismatch during publish/runtime validation would be appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions