The following urls cause an error while saving an Instagram file:
https://www.instagram.com/p/86NTgRCRVr/
https://www.instagram.com/p/zsTj70DIYZ/

The issue is detailed here: https://www.drupal.org/node/1824506
Temporary fix can be applied to MediaInternetOEmbedHandler.inc on line 34:

if (!empty($info['title'])) {
        $filename = truncate_utf8($info['title'], 255);
        $filename = preg_replace('/[^(\x20-\x7F)]*/','', $filename);
}

I hope this will help debug & fix this issue. Sorry I can't create a proper patch.
Thank you for your work on this module.

Comments

Gergely Varga created an issue. See original summary.

Greg Varga’s picture

Issue summary: View changes
Greg Varga’s picture

Issue summary: View changes
Greg Varga’s picture