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: SRT_CORE - Nachrichtenklasse für SOAP Runtime
Message number: 121
Message text: Unauthorized
The target system has refused a Web Service call because of invalid user
authentication.
Reason for the most error cases of this kind is invalid user or
password. Some target systems such as ABAP system will send in this
error case an HTML error page containing some hints about problem
details.
The system issues an error message and will not allow you to continue with this transaction until the error is resolved.
Check the error context to see which authentication level and method are
configured for the specified logical port and ask the administrators of
the target system for help.
If the target system has sent an HTML error page you will see the text
"HTML error page received" in the error context. Double-click on the
"Short Text" to see the whole HTML error page.
In case of configuration error, run transaction SOAMANAGER for a
re-configuration of the logical port to correct the logon data.
How To Save Error Entries
If you want to save one or more error entries (displaying in detail and
not summary mode) to your computer for sending it later to your
collegues or to SAP Support, just do the following:
Mark one or more error entries you want to download
Click "Download as XML".
Confirm the pop-up for saving.
Error message extract from SAP system. Copyright SAP SE.
SRT_CORE121
- Unauthorized ?The SAP error message SRT_CORE121 Unauthorized typically occurs in the context of SAP Process Integration (PI) or SAP Process Orchestration (PO) when there is an issue with authorization for accessing a service or resource. This error indicates that the user or system trying to access a particular service does not have the necessary permissions.
Causes:
- Insufficient User Permissions: The user or service account does not have the required roles or authorizations to access the service.
- Service Configuration Issues: The service might not be properly configured to allow access to the user or system.
- Authentication Issues: There may be problems with the authentication mechanism, such as incorrect credentials or expired tokens.
- Endpoint Restrictions: The endpoint being accessed may have restrictions that prevent unauthorized access.
Solutions:
Check User Roles and Authorizations:
- Ensure that the user or service account has the necessary roles assigned in the SAP system. You can do this by checking the user’s profile in transaction
SU01
or using transactionPFCG
to manage roles.- Assign the appropriate authorizations related to the service being accessed.
Review Service Configuration:
- Verify the configuration of the service in the Integration Directory or the relevant configuration area. Ensure that the service is set up to allow access to the intended users or systems.
- Check the security settings for the service, including any authentication methods that are configured.
Authentication Mechanism:
- If using Basic Authentication, ensure that the username and password are correct.
- If using OAuth or other token-based authentication, check that the tokens are valid and not expired.
Check Logs for More Details:
- Review the application logs (transaction
SLG1
) for more detailed error messages that can provide additional context about the authorization failure.- Check the communication logs in the Integration Engine to see if there are any additional error messages related to the request.
Consult Documentation:
- Refer to SAP documentation or notes related to the specific service or integration scenario you are working with. There may be specific requirements or configurations needed for authorization.
Testing:
- After making changes, test the service access again to ensure that the issue is resolved.
Related Information:
By following these steps, you should be able to identify and resolve the cause of the SRT_CORE121 Unauthorized error in your SAP environment.
Get instant SAP help. Sign up for our Free Essentials Plan.
SRT_CORE114
HTTP processing timeout
What causes this issue? The configured "Processing Timeout" value for a Web Service is exceeded because the target system has been taking t...
SRT_CORE113
HTTP processing failed
What causes this issue? The sending of an HTTP request has been aborted due to a problem from within the HTTP layer.System Response The system issue...
SRT_CORE122
Internal Server Error
What causes this issue? The target system encountered an unexpected condition which prevented it from fulfilling the Web Service call.System Response...
SRT_CORE123
HTTP Error
What causes this issue? The target system has sent an HTTP error as response to your request.System Response The system issues an error message and ...
Click on this link to search all SAP messages.