# Agent showing wrong images

**URL:** <https://forums.plex.tv/t/agent-showing-wrong-images/191753>\
**Category:** Dev/API Corner\
**Tags:** scanner-agent-dev\
**Created:** [May 12, 2017, 3:19pm UTC](https://forums.plex.tv/t/agent-showing-wrong-images/191753 "2017-05-12T15:19:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Cazzar](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/cazzar/32/104190_2.png) [@Cazzar](https://forums.plex.tv/u/Cazzar)\
**Post date:** [May 12, 2017, 3:19pm UTC](https://forums.plex.tv/t/agent-showing-wrong-images/191753/1 "2017-05-12T15:19:31Z")

</div>

Hi,

I have been working on a metadata agent that seems to crop up with an odd error, that so far I have not been able to work out some sort of solution to.

First, the code as of current: [init.py](https://github.com/Cazzar/ShokoMetadata.bundle/blob/master/Contents/Code/ __init__.py#L96-L106)

Now, to the nature of the issue:

- When I run the agent in bulk, it will seem to persist 1-2 posters over half the time.
- I have seen instances on the scanner where simply just refreshing metadata will resolve this, other times, it will not.
- I have verified manually, and by scripting within the logs, that I am not adding this information during the `Update` method.
- I have also attempted things which are in the official metadata agents such as `metadata.posters.validate_keys(...)` with no avail.

Any ideas on what might be causing this, it’s probably something simple but I am not working out what could be the case?

---

<div class="post-metadata">

**Author:** ![Cazzar](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/cazzar/32/104190_2.png) [@Cazzar](https://forums.plex.tv/u/Cazzar)\
**Post date:** [September 4, 2017, 2:14pm UTC](https://forums.plex.tv/t/agent-showing-wrong-images/191753/2 "2017-09-04T14:14:12Z")

</div>

For those interested, it turned out to be a HTTP caching issue.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)\
**Post date:** [January 8, 2020, 8:03pm UTC](https://forums.plex.tv/t/agent-showing-wrong-images/191753/3 "2020-01-08T20:03:44Z")

</div>


