Article - CS338417
URL returned from GetProxyURL method of Media Entity does not open, 'Could not provide media' message is displayed with error "Base does not include target" in the log
Modified: 13-Dec-2023
Applies To
- ThingWorx Platform 8.5 to 9.4
Description
- URL returned from GetProxyURL method of Media Entity and appending to ThingWorx server hostname does not open, 'Could not provide media' message is displayed
- Unable to download change request attachments when opened from Thingworx
- Media entity is configured with URLs as stated in Help Center page on this link - https://support.ptc.com/help/thingworx_hc/thingworx_8_hc/en/index.html#page/ThingWorx%2FHelp%2FComposer%2FVisualization%2FMediaEntities.html%23
- Error 'Base does not include target' is returned on executing the service with the definition as below:
-
var proxy = MediaEntities["DynamicTestMedia"].GetProxyUrl( { targetUrl:URL, clientFollowsRedirect: true /* BOOLEAN */, isAbsoluteTargetUrl: true /* BOOLEAN */, }); result = 'http://localhost:8080' +proxy;
-
This is a printer-friendly version of Article 338417 and may be out of date. For the latest version click CS338417