<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Revisions for key for schema are outdated in Dynatrace API</title>
    <link>https://community.dynatrace.com/t5/Dynatrace-API/Revisions-for-key-for-schema-are-outdated/m-p/266549#M3550</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/77704"&gt;@GosiaMurawska&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I ended up automating the procedure with a Python script that invokes the API twice a day to enable/disable the metrics events and I haven't faced this issue as long as it's running(&amp;gt;2 months).&lt;/P&gt;&lt;P&gt;I can only assume that when I did my initial tests I somehow created a corner case condition with my API calls, maybe due to rapid calls on the same schema?.&lt;/P&gt;&lt;P&gt;I never bothered to reproduce it since the script worked.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;George&lt;/P&gt;</description>
    <pubDate>Thu, 02 Jan 2025 16:21:46 GMT</pubDate>
    <dc:creator>g_kat</dc:creator>
    <dc:date>2025-01-02T16:21:46Z</dc:date>
    <item>
      <title>Revisions for key for schema are outdated</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/Revisions-for-key-for-schema-are-outdated/m-p/256603#M3388</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I am trying to update a metric event through the API, just to enable/disable it.&lt;/P&gt;
&lt;P&gt;I initially succeeded to PUT the updated payload and got a 200. But after that, every attempt to modify it results in a 409 Conflict error with the following message:&lt;/P&gt;
&lt;P&gt;Revisions: '\n '&amp;lt;some ID&amp;gt;' for key '&amp;lt;some other ID&amp;gt;' for '&amp;lt;schemaid&amp;gt;' are outdated.&lt;/P&gt;
&lt;P&gt;The only variable thing in my payload seems to be the update token, which I grabbed from the API tab on the metric event I wanted to modify, and this doesn't seem to change, looks more like a unique identifier and not a nonce.&lt;/P&gt;
&lt;P&gt;Has anyone encountered this in the past?&lt;/P&gt;
&lt;P&gt;P.S. I face this on Managed, haven't checked if it's the same case on SaaS.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;George&lt;/P&gt;</description>
      <pubDate>Tue, 24 Sep 2024 05:58:36 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/Revisions-for-key-for-schema-are-outdated/m-p/256603#M3388</guid>
      <dc:creator>g_kat</dc:creator>
      <dc:date>2024-09-24T05:58:36Z</dc:date>
    </item>
    <item>
      <title>Re: Revisions for key for schema are outdated</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/Revisions-for-key-for-schema-are-outdated/m-p/266534#M3542</link>
      <description>&lt;P&gt;Hi, &lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/34133"&gt;@g_kat&lt;/a&gt;! Have you managed to find the answer to your question? It would be great if you share it with the Community &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jan 2025 15:33:41 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/Revisions-for-key-for-schema-are-outdated/m-p/266534#M3542</guid>
      <dc:creator>GosiaMurawska</dc:creator>
      <dc:date>2025-01-02T15:33:41Z</dc:date>
    </item>
    <item>
      <title>Re: Revisions for key for schema are outdated</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/Revisions-for-key-for-schema-are-outdated/m-p/266549#M3550</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/77704"&gt;@GosiaMurawska&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I ended up automating the procedure with a Python script that invokes the API twice a day to enable/disable the metrics events and I haven't faced this issue as long as it's running(&amp;gt;2 months).&lt;/P&gt;&lt;P&gt;I can only assume that when I did my initial tests I somehow created a corner case condition with my API calls, maybe due to rapid calls on the same schema?.&lt;/P&gt;&lt;P&gt;I never bothered to reproduce it since the script worked.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;George&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jan 2025 16:21:46 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/Revisions-for-key-for-schema-are-outdated/m-p/266549#M3550</guid>
      <dc:creator>g_kat</dc:creator>
      <dc:date>2025-01-02T16:21:46Z</dc:date>
    </item>
  </channel>
</rss>

