Skip to main content
Question

Updating configuration profile Error 409 - Duplicate name

  • September 17, 2015
  • 0 replies
  • 0 views

Forum|alt.badge.img+4

Hello,

I'll try to explain as briefly as possible here
I simplified the xml examples, I'm just trying to explain the situation here.

I currently have 2 Profiles:
Profile 1

<configuration_profile>
  <general>
    <id>1</id>
    <name>NoCamera</name>
    <site>
      <id>1</id>
      <name>First Site</name>
    </site>
  </general>
</configuration_profile>

Profile 2

<configuration_profile>
  <general>
    <id>2</id>
    <name>NoCamera</name>
    <site>
      <id>2</id>
      <name>Second Site</name>
    </site>
  </general>
</configuration_profile>

Both profiles can be created without any issues.
The problem occurs when updating the profile (with id = 2) using the Api. It returns me error 409 duplicate name. However, this is allowed when creating a new profile using the Api? is this a bug in the Api?

Note: When updating that profile through the Casper suite interface it also works without any issues.

The Update Example - Trying to add a group to the scope of the profile

<configuration_profile>
  <scope>
    <mobile_device_groups>
      <mobile_device_group>
        <id>5</id>
      </mobile_device_group>
    </mobile_device_groups>
  </scope>
</configuration_profile>

0 replies

Be the first to reply!

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings