Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Note
The AL diagnostics topics are in preview. If you have input for this topic, we'd love to hear from you. Use our GitHub repo to create a PR and add content to this topic by going to here. To read about contributing, see Contribute to the Help. Thanks!
An application object of type '{0}' with name '{1}' is already declared by the extension '{2}'.
Description
Multiple application objects with the same name are defined.
How to fix this diagnostic?
This error means another object of the same type and name is already declared, either in your extension or in one of the extensions you depend on. Object names must be unique per object type across all dependencies.
To fix it:
- Give your object a unique name.
- Remove the duplicate declaration if you declared the same object twice.
- Check the extensions listed in the
dependenciessection of yourapp.jsonfor a name collision, and rename your object to avoid it.