# get\_profile error

**URL:** <https://community.f5.com/t/get-profile-error/30294>\
**Category:** Technical Forums\
**Tags:** icontrol, dev, devops\
**Created:** [November 10, 2010, 8:46pm UTC](https://community.f5.com/t/get-profile-error/30294 "2010-11-10T20:46:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![smp\_86112](https://avatars.discourse-cdn.com/v4/letter/s/4af34b/32.png) [@smp\_86112](https://community.f5.com/u/smp_86112)\
**Post date:** [November 10, 2010, 8:46pm UTC](https://community.f5.com/t/get-profile-error/30294/1 "2010-11-10T20:46:27Z")

</div>

I’m trying to develop some Perl code to rename VIPs. One of the steps I need to do is figure out which profiles are applied, and I am using the get\_profile function to do it. However I am getting an “Unrecognized type” error. I can successfully get other properties of the VIP using other functions, like get\_default\_pool\_name for example, so I know I am referencing the right VIP. I’m a big-time iControl novice - can anyone clue me in? Here’s the code I’m using to get the profiles:

```tcl
my $soapResponse = $Virtual->get_profile(SOAP:ata->name(virtual_servers => [$existing_vip]));

```

This command returns **Unrecognized type ‘{urn:iControl}LocalLB.ProfileType’**. However there is other output (attached) which makes it appear like the command is successful.

---

<div class="post-metadata">

**Author:** ![smp\_86112](https://avatars.discourse-cdn.com/v4/letter/s/4af34b/32.png) [@smp\_86112](https://community.f5.com/u/smp_86112)\
**Post date:** [November 11, 2010, 2:03pm UTC](https://community.f5.com/t/get-profile-error/30294/2 "2010-11-11T14:03:42Z")

</div>

To close the loop on this, it turns out I did not explicitly load SOAP::Lite. Not sure how I was able to get other properties without it, but I’m not concerned enough to worry about it.
