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: SAML2 - SAML2 Nachrichten
Message number: 104
Message text: The validity of the HoK assertion is not in the defined period of &1 min
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.
SAML2104
- The validity of the HoK assertion is not in the defined period of &1 min ?The SAP error message SAML2104 indicates that there is an issue with the validity period of a Holder of Key (HoK) assertion in a SAML (Security Assertion Markup Language) authentication process. This error typically arises when the assertion's validity period does not align with the expected time frame defined in the SAP system configuration.
Cause:
The error occurs when the SAML assertion's validity period is either too short or too long compared to the configured time limit in the SAP system. The assertion must be valid within a specific time window, and if it falls outside this window, the system will reject it, leading to the SAML2104 error.
Solution:
To resolve the SAML2104 error, you can take the following steps:
Check the Assertion Validity Period:
- Review the SAML assertion being sent to the SAP system. Ensure that the
NotBefore
andNotOnOrAfter
timestamps are set correctly and that they fall within the expected time frame.Adjust SAP Configuration:
- In the SAP system, you can adjust the validity period settings for SAML assertions. This is typically done in the SAML configuration settings. Look for parameters related to assertion validity, such as
SAML Assertion Validity Period
, and ensure they match the expected values of the assertions being sent.Synchronize Clocks:
- Ensure that the clocks on the Identity Provider (IdP) and the SAP system are synchronized. If there is a significant time difference between the two systems, it can lead to assertions being considered invalid.
Review IdP Configuration:
- If you have access to the Identity Provider, check its configuration to ensure that it is generating assertions with the correct validity period. Adjust the settings if necessary.
Testing:
- After making changes, test the SAML authentication process again to ensure that the error is resolved.
Related Information:
If the problem persists after following these steps, consider reaching out to your SAP support team or consulting the SAP Community for further assistance.
Get instant SAP help. Sign up for our Free Essentials Plan.
SAML2103
Importing PSE error: '&1'
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
SAML2102
Signing certificate of the SOAP message is not trusted
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
SAML2105
Certificate cannot be saved in Address Book
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
SAML2106
Error while saving URL '&1'. Nothing stored.
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
Click on this link to search all SAP messages.