# Basic Metadata Agent debugging

**URL:** <https://forums.plex.tv/t/basic-metadata-agent-debugging/9671>\
**Category:** Dev/API Corner\
**Tags:** scanner-agent-dev\
**Created:** [June 17, 2011, 6:44pm UTC](https://forums.plex.tv/t/basic-metadata-agent-debugging/9671 "2011-06-17T18:44:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![infomofo](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/infomofo/32/2256_2.png) [@infomofo](https://forums.plex.tv/u/infomofo)\
**Post date:** [June 17, 2011, 6:44pm UTC](https://forums.plex.tv/t/basic-metadata-agent-debugging/9671/1 "2011-06-17T18:44:42Z")

</div>

Some debugging tips for a total noob?
Hi guys-  
  
I'm a very new plex user, but i'm really digging the development community involved in it, so I thought I'd exercise my meager python and xpath skills and try to develop a metadata agent.  
  
I have the basic framework down, but I am having trouble debugging the functionality. Are there any beginner tips for developing and debugging a basic metadata agent shredding data from a webpage?  
  
Right now I have cloned another plugin and tried to replicate its functionality in a search and update method, but in the logs I have   
  

```auto

Jun 17, 2011 16:22:14 [0xb0773000] DEBUG - [com.plexapp.system] Completed command GET http://... in 0.004150 seconds.<br />
Jun 17, 2011 16:22:14 [0xa058f540] ERROR - Error issuing curl_easy_perform(handle): 22<br />
Jun 17, 2011 16:22:14 [0xa058f540] WARN - Error issuing request to: http:/...<br />
Jun 17, 2011 16:22:14 [0xa058f540] ERROR - Error parsing content.<br />
Jun 17, 2011 16:22:14 [0xa058f540] ERROR - Exception caught while attempting to match metadata on item 989: Error parsing file<br />
Jun 17, 2011 16:22:14 [0xa058f540] ERROR - XML was (0 bytes):

```

  
  
Is there something specific I need to be doing to get further debugging info?   
  
Thanks!

---

<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:** [December 20, 2019, 9:10pm UTC](https://forums.plex.tv/t/basic-metadata-agent-debugging/9671/2 "2019-12-20T21:10:17Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
