# Compiler Error AL0923
> 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 https://github.com/MicrosoftDocs/dynamics365smb-devitpro-pb. To read about contributing, see Contribute to the Help<../../help/contributor-guide#contributing>. Thanks!
The attribute '[RequiredPending]' can only be applied to interface methods with a default implementation.
## Description
The [RequiredPending] attribute is only valid on interface methods that have a body (default implementation). Methods without a body are already required.
## Remarks
The `[RequiredPending]` attribute signals that an optional interface method (one with a default implementation) will become required in a future version. Applying it to a method without a body is meaningless because methods without a default implementation are already required -- all implementors must provide them.
## How to fix it
Either add a default implementation (body) to the interface method, or remove the `[RequiredPending]` attribute.
## Example of code that triggers AL0923
```al
interface INotification
{
    // Error: RequiredPending on a method without a body.
    // This method is already required because it has no default implementation.
    [RequiredPending('This will become required', '27.0')]
    procedure Notify(message: Text);
}
```
## Example of how to fix it
If the method should be required, simply remove the `[RequiredPending]` attribute. It is already required because it has no body.
```al
interface INotification
{
    procedure Notify(message: Text);
}
```
If you intend to make the method optional now and required later, add a default implementation body.
```al
interface INotification
{
    [RequiredPending('Implementors must provide Notify by v27.0', '27.0')]
    procedure Notify(message: Text);
    begin
        // Default no-op implementation.
        // Implementors should override this.
    end;
}
```
## Related information
Getting started with AL<../devenv-get-started>
Developing extensions<../devenv-dev-overview>
../devenv-interfaces-in-al
Compiler Warning AL0924<diagnostic-al924>

Copyright (c) Microsoft Corporation. CC BY 4.0, https://creativecommons.org/licenses/by/4.0/; code samples MIT. From https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/diagnostics/diagnostic-al923, MicrosoftDocs/dynamics365smb-devitpro-pb at 828b6ee (2026-11-19). Changed: includes filled in, links to this site, and for agents shortened without dropping a fact. https://jonas-paprotka.de/docs/dev-itpro/developer/diagnostics/diagnostic-al923/
