EAI HTTP Transport SendReceive Call Fails With Error "HTTP/1.1 415 Unsupported Media Type" And 'Status code - 415'
(Doc ID 2973936.1)
Last updated on NOVEMBER 06, 2023
Applies to:
Siebel CRM - Version 17.0 [IP2017] and laterInformation in this document applies to any platform.
Symptoms
When using Siebel EAI HTTP Transport SendReceive method to send a JSON message to an external system, the request fails with an http 415 error as can be seen from a Siebel object manager log file:
EAITransport EAITransportDebug 4 000020b264ee9ddc:0 2023-09-12 13:22:33 *** HTTP Transport Parameters:
EAITransport EAITransportDebug 4 000020b264ee9ddc:0 2023-09-12 13:22:33 Request URL = https://EXTERNAL_SYSTEM_URL
EAITransport EAITransportDebug 4 000020b264ee9ddc:0 2023-09-12 13:22:33 Request Method = GET
EAITransport EAITransportDebug 4 000020b264ee9ddc:0 2023-09-12 13:22:33 Timeout secs = 10800000
EAITransportPerf EAITransportPerf 5 000020b264ee9ddc:0 2023-09-12 13:22:33 Created Request Connection|0
EAITransport EAITransportGeneric 3 000020b264ee9ddc:0 2023-09-12 13:22:33 Sending Request
EAITransport EAITransportDebug 4 000020b264ee9ddc:0 2023-09-12 13:22:33 *** HTTP request Headers for Data Send Request:
User-Agent: Mozilla/4.0
Accept: text/*
Cache-Control: no-cache
Content-Type: application/x-www-form-urlencoded
Authorization: xxxxx
EAITransport EAITransportDebug 4 000020b264ee9ddc:0 2023-09-12 13:22:33 *** HTTP response Headers from Data Send request:
HTTP/1.1 415 Unsupported Media Type
Transfer-Encoding: chunked
Strict-Transport-Security: max-age=2592000
Date: Tue, 12 Sep 2023 20:22:33 GMT
EAITransport EAITransportDebug 4 000020b264ee9ddc:0 2023-09-12 13:22:33 *** HTTP response Body from Data Send request:
EAITransportPerf EAITransportPerf 5 000020b264ee9ddc:0 2023-09-12 13:22:33 HTTP Open Request Time = 0 millis
EAITransportPerf EAITransportPerf 5 000020b264ee9ddc:0 2023-09-12 13:22:33 HTTP Send Time = 16 millis
EAITransportPerf EAITransportPerf 5 000020b264ee9ddc:0 2023-09-12 13:22:33 HTTP Read Header Time = 0 millis
EAITransportPerf EAITransportPerf 5 000020b264ee9ddc:0 2023-09-12 13:22:33 HTTP Read Body Time = 0 millis
ObjMgrLog Error 1 000020b264ee9ddc:0 2023-09-12 13:22:33 (httptransport.cpp (1860)) SBL-EAI-04117: HTTP Request error during 'Submitting Data SendHTTP request': 'Status code - 415'
The error can be reproduced as follows:
1. Log into Siebel Client UI application
2. Navigate to the Sitemap > Administration - Business Service Screen > Simulator View
3. Simulate the following business service:
Business Service: EAI HTTP Transport
Method: SendReceive
Input Arguments:
Content-Type: application/x-www-form-urlencoded
HDR.Authorization: Bearer abcdefghijklmnop
HDR.Cache-Control: no-cache
HTTPSleepTime: 10800000
4. Submit the request and reported error occurs
Changes
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Changes |
Cause |
Solution |
References |