Do you have any question about this error?
Message type: E = Error
Message class: SECATT_HTTP_STATUS - eCATT HTTP Status Messages
Message number: 406
Message text: Not Acceptable
The resource identified by the request is only capable of generating
response entities which have content characteristics not acceptable
according to the accept headers sent in the request.
Unless it was a HEAD request, the response SHOULD include an entity
containing a list of available entity characteristics and location(s)
from which the user or user agent can choose the one most appropriate.
The entity format is specified by the media type given in the
Content-Type header field. Depending upon the format and the
capabilities of the user agent, selection of the most appropriate choice
MAY be performed automatically. However, this specification does not
define any standard for such automatic selection.
If the response could be unacceptable, a user agent SHOULD temporarily
stop receipt of more data and query the user for a decision on further
actions.
The system issues an error message and will not allow you to continue with this transaction until the error is resolved.
Error message extract from SAP system. Copyright SAP SE.
SECATT_HTTP_STATUS406
- Not Acceptable ?The SAP error message
SECATT_HTTP_STATUS406 Not Acceptable
typically occurs when there is an issue with the HTTP request made by the SAP system, particularly when using the SAP eCATT (extended Computer Aided Test Tool) for automated testing or when interacting with web services. The HTTP status code 406 indicates that the server cannot generate a response that is acceptable to the client based on theAccept
headers sent in the request.Causes:
Content-Type Mismatch: The server is unable to provide a response in a format that the client (SAP system) can accept. This often happens if the
Accept
header in the HTTP request specifies a content type that the server does not support.Incorrect URL or Endpoint: The URL being accessed may not be correct, leading to the server not being able to process the request properly.
Server Configuration: The server may be configured to only accept certain types of requests or content types, and the request from SAP does not meet those criteria.
Authentication Issues: If the request requires authentication and the credentials are not provided or are incorrect, the server may respond with a 406 error.
Solutions:
Check the Accept Header: Review the HTTP request being sent by the SAP system and ensure that the
Accept
header is set to a content type that the server can respond with (e.g.,application/json
,application/xml
, etc.).Verify the URL: Ensure that the URL or endpoint being accessed is correct and that it is capable of handling the request.
Server Response Formats: Consult the server documentation to understand what content types it supports and adjust the request accordingly.
Authentication: If the server requires authentication, ensure that the correct credentials are being sent with the request.
Debugging: Use tools like Postman or cURL to manually send requests to the server and see what responses you get. This can help identify if the issue is with the request format or the server configuration.
SAP Notes and Documentation: Check SAP Notes for any known issues or patches related to eCATT or the specific web service you are trying to access.
Related Information:
By following these steps, you should be able to diagnose and resolve the SECATT_HTTP_STATUS406 Not Acceptable
error in your SAP environment.
Get instant SAP help. Start your 7-day free trial now.
SECATT_HTTP_STATUS405
Method not allowed - Method is not allowed for this resource(Request-URI)
What causes this issue? The method specified in the Request-Line is not allowed for the resource identified by the Request-URI. The response MUST inc...
SECATT_HTTP_STATUS404
Not found - The server has not found anything matching the Request-URI.
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
SECATT_HTTP_STATUS407
Proxy Authentication Required
What causes this issue? This code is similar to 401 (Unauthorized), but indicates that the client must first authenticate itself with the proxy. The ...
SECATT_HTTP_STATUS408
Request Timeout
What causes this issue? The client did not produce a request within the time that the server was prepared to wait. The client MAY repeat the request ...
Click on this link to search all SAP messages.