You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Error while invoking external REST (OIC Integration)- responseStatus - 415

Summary:

Pattern Used : Agent Team - Agent — Tool (Exteranl REST OIC)

SendEmailOICToolPreviousNextCloseInput{ "query_dict": { "Email": "=[Email]", "Message": "=[Message]", "Subject": "=[Subject]" }, "body_template": { "Email": "test@gmail .com", "Subject": "Message from Oracle AI Agent", "Body": "This is a demo on Oracle AI Agent Integration with OIC :)" }, "serviceName": "rwdinfra", "resource_path": "/trap/2/module/oracle_fai_aistudiopublicUI/2507.6.251541504/backend/backend17/proxy/https/oic3playground-frnpqfj5mupk-fr.integration.eu-frankfurt-1.ocp.oraclecloud.com/ic/api/integration/v1/flows/rest/SENDNOTIFINT/1.0/sendNotif", "operation_type": "POST", "headers": {}}

Output{ "responseStatus": 415, "response": "<HTML>\n<HEAD>\n<TITLE>Error 415--Unsupported Media Type</TITLE>\n</HEAD>\n<BODY bgcolor=\"white\">\n<FONT FACE=Helvetica><BR CLEAR=all>\n<TABLE border=0 cellspacing=5><TR><TD><BR CLEAR=all>\n<FONT FACE=\"Helvetica\" COLOR=\"black\" SIZE=\"3\"><H2>Error 415--Unsupported Media Type</H2>\n</FONT></TD></TR>\n</TABLE>\n<TABLE border=0 width=100% cellpadding=10><TR><TD VALIGN=top WIDTH=100% BGCOLOR=white><FONT FACE=\"Courier New\"><FONT FACE=\"Helvetica\" SIZE=\"3\"><H3>From RFC 2068 <i>Hypertext Transfer Protocol -- HTTP/1.1</i>:</H3>\n</FONT><FONT FACE=\"Helvetica\" SIZE=\"3\"><H4>10.4.16 415--Unsupported Media Type</H4>\n</TD></TR></TABLE>\n</BODY>\n</HTML>\n"}

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!