Refresh Metadata for a Connection Rest API Issue in OIC Gen-3
Summary:
REST API Post call failing with "415 un supported media-type" error in OIC Gen-3
Content (please ensure you mask any confidential information):
We have an integration in OIC Gen-2 that refreshes metadata for a connection using the OIC REST API, and it works as expected in the Gen-2 environment. However, after one of our non-production environments was upgraded to Gen-3, we encountered an issue during testing. The integration now throws a "415 Unsupported Media Type" error.
We found that explicitly setting the request header Content-Type: application/json
in the REST API POST call resolves the issue. However, making such changes to our integration code would have a significant impact.
Tagged:
0