Title: Error while setting post thumbnail
Last modified: August 24, 2016

---

# Error while setting post thumbnail

 *  Resolved [markamp](https://wordpress.org/support/users/markamp/)
 * (@markamp)
 * [11 years ago](https://wordpress.org/support/topic/error-while-setting-post-thumbnail/)
 * Hi grosbouff,
 * i’m wondering about some cached boards which are stucked in status “pending”.
   This boards always contain one or more pins which can’t be imported. The error
   message is always the same: “Error while setting post thumbnail: [https://s-media-cache-ak0.pinimg.com/originals/ad/c5/2b/adc52bc9c759b0db342caad156b61a27.jpg.&#8221](https://s-media-cache-ak0.pinimg.com/originals/ad/c5/2b/adc52bc9c759b0db342caad156b61a27.jpg.&#8221);(
   for example).
 * I figured out that line 204 in file “pinim-functions.php” throws the error “Invalid
   file type”. The function “pinim_fetch_remote_image” can’t return a valid filename
   caused by special characters. As far as i can see do all regarding files contain
   in their titles characters from a “foreign” language (for example Arabic or just“
   umlaute” like “ä” in german). But the more i crawl into your code the harder 
   it becomes for me to follow ….. caused by my elementary coding skills, not by
   yours ! 😉
 * Maybe you can have a look at it one time?
 * Marc
 * [https://wordpress.org/plugins/pinterest-importer/](https://wordpress.org/plugins/pinterest-importer/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [grosbouff](https://wordpress.org/support/users/grosbouff/)
 * (@grosbouff)
 * [11 years ago](https://wordpress.org/support/topic/error-while-setting-post-thumbnail/#post-6117339)
 * Thanks for this !
    I just changed the way images are downloaded in 2.0.4. Tell
   me if it works better !
 *  Thread Starter [markamp](https://wordpress.org/support/users/markamp/)
 * (@markamp)
 * [11 years ago](https://wordpress.org/support/topic/error-while-setting-post-thumbnail/#post-6117377)
 * Yes! It does! 🙂 Not a single error message. Thanks!
 *  Plugin Author [grosbouff](https://wordpress.org/support/users/grosbouff/)
 * (@grosbouff)
 * [11 years ago](https://wordpress.org/support/topic/error-while-setting-post-thumbnail/#post-6117389)
 * Ok, I set this to resolved then.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Error while setting post thumbnail’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/pinterest-importer_fdfdfd.svg)
 * [Pinterest Importer](https://wordpress.org/plugins/pinterest-importer/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/pinterest-importer/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/pinterest-importer/)
 * [Active Topics](https://wordpress.org/support/plugin/pinterest-importer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/pinterest-importer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/pinterest-importer/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [grosbouff](https://wordpress.org/support/users/grosbouff/)
 * Last activity: [11 years ago](https://wordpress.org/support/topic/error-while-setting-post-thumbnail/#post-6117389)
 * Status: resolved