Hello,
It was reported by a couple of users over the past few weeks that images will occasionally be stored in a broken state. We determined that this was caused by the behavior of our advanced API image delivery script (xian). It has always output text error messages for various error conditions, but we realize now that this causes most integrations to save that error text output as an image, which then shows up "broken" if displayed in a browser.
If you open the image file in a text editor, you will see the error message given by our script. It is useful for troubleshooting but makes for a poor user experience when a broken image placeholder is displayed.
Therefore, we have changed the behavior of this script to no longer output text error messages except in certain cases that only occur when testing, debugging, or possibly while writing a new integration. For most cases, the script will no longer output anything (allowing end user scripts to gracefully fail and retry) but will log the error to the ShrinkTheWeb account log from now on. This way, users will get the same benefit of error reporting but no negative user experience and no having to open files to determine the error message.
The most common reasons for this situation have been:
"Lock to account: domain or IP not listed"
"Image Retrieval Error"
The "Lock to account" condition is already reported in the logs, so this change will more gracefully handle this situation.
The "Image Retrieval Error" has been handled with some changes to the script behavior. You may read more about that here:
https://shrinktheweb.com/content/new-logging-output.html
If you notice anything unexpected from these changes, please let us know.
Best regards,
Brandon