Do you have any question about this error?
Stop googling SAP errors. Use our Free Essentials plan instead - no credit card needed. Start Now →
Message type: E = Error
Message class: WSS - Web Services Security
Message number: 021
Message text: Message expired (&1 &2 &3 )
Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of messages in the SAP system have a message text, however this is frequently insufficient to comprehend or resolve the problem.
To make things easier, more detailed information is frequently added to describe the issue, how to fix it, and the necessary steps or configuration modifications.
Unfortunately, there isn't any extra information in this error notice.
First, use our AnswerBot below to get a possible cause and solution (requires a premium subscription).
Also, review the in-depth Common Questions & Answers listed below; you could discover a solution there or be able to connect with others who have faced similar challenges.
You can also try searching the SAP support portal (support.sap.com) but you need a special user ID to access it. It is possible that an SAP support note exists that provides additional details about the mistake or even steps for fixing it.
WSS021
- Message expired (&1 &2 &3 ) ?Certainly! Here's a detailed explanation for the SAP error message WSS021: Message expired (&1 &2 &3):
Error Message
WSS021: Message expired (&1 &2 &3)
Cause
This error occurs in the SAP Web Services Security (WS-Security) context. It indicates that a security token or message timestamp has expired. Specifically, the SOAP message or security token contains a timestamp that is outside the allowed validity period defined by the system's security policy.
Common causes include:
In WS-Security, messages often include a timestamp to prevent replay attacks and ensure message freshness. SAP checks the timestamp against the current system time and a configured validity window. If the timestamp is older than the allowed window, SAP rejects the message with this error.
Check and synchronize system clocks:
Adjust validity period settings:
wssec:Timestamp/Expires
element in the SOAP header.icm/keep_alive_timeout
or specific WS-Security token validity settings.Check message transmission delays:
Review replay protection settings:
Check SAP Notes and documentation:
WS-Security Timestamp:
The <wsu:Timestamp>
element in the SOAP header contains <wsu:Created>
and <wsu:Expires>
timestamps. SAP validates these against the current time.
SAP Web Service Security Configuration:
The security policy defines how long a message is valid. Adjusting these policies can help.
SAP Notes and KBAs:
Search for SAP Notes with keywords like "WSS021", "Message expired", "WS-Security timestamp".
Transaction / Tools:
Aspect | Details |
---|---|
Cause | WS-Security message timestamp expired due to clock skew, short validity period, or delay |
Solution | Synchronize clocks, increase validity period, check network delays, adjust replay protection |
Related Info | WS-Security timestamp, SAP Notes, SOAMANAGER, STRUST, NTP synchronization |
If you provide more context (e.g., which scenario or interface you are using), I can help tailor the solution further.
Get instant SAP help. Sign up for our Free Essentials Plan.
WSS020
Signature check failed (part not signed: &1)
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
WSS019
Signature check failed - WP: &1 SSF_PAB: &2
What causes this issue? The X.509 signature was rejected by the system.System Response How to fix this error? The signature is checked against the ...
WSS022
No trusted certificate for SAML authentication found (DN &1&2)
What causes this issue? The system received a SAML assertion, which is not trusted by the SAP system.System Response The system issues an error mess...
WSS023
No mapping for SAML authentication found (Issuer &3)
What causes this issue? The system received a SAML assertion, but it did not find a usermapping to authenticate the user.System Response The system ...
Click on this link to search all SAP messages.