<?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: FMC 6.3 &amp;quot;unprocessable entity&amp;quot; error when trying to amen in Network Security</title>
    <link>https://community.cisco.com/t5/network-security/fmc-6-3-quot-unprocessable-entity-quot-error-when-trying-to/m-p/4042816#M22</link>
    <description>&lt;P&gt;Yes, I do not include the metadata dictionary when executing a put.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for the FMC info!&amp;nbsp; I will check that out the next time I get the error.&lt;/P&gt;</description>
    <pubDate>Thu, 06 Oct 2022 15:32:15 GMT</pubDate>
    <dc:creator>tyoung008</dc:creator>
    <dc:date>2022-10-06T15:32:15Z</dc:date>
    <item>
      <title>FMC 6.3 "unprocessable entity" error when trying to amend access rule</title>
      <link>https://community.cisco.com/t5/network-security/fmc-6-3-quot-unprocessable-entity-quot-error-when-trying-to/m-p/3713490#M15</link>
      <description>&lt;P&gt;Good afternoon everyone,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm trying to amend an existing access rule to enable logging on it. I read the policy and the rule fine. I get the rule output in a variable called data. Then I amend 'logFiles' field from 'False' to 'True' and try to execute a put request with it as the data. Then I get unprocessable entity error. Can anyone explain why it is?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The FMC version is 6.3, I am using Python 3.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Sergey.&lt;/P&gt;</description>
      <pubDate>Fri, 01 Mar 2019 12:46:01 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/fmc-6-3-quot-unprocessable-entity-quot-error-when-trying-to/m-p/3713490#M15</guid>
      <dc:creator>Sergey Lisitsin</dc:creator>
      <dc:date>2019-03-01T12:46:01Z</dc:date>
    </item>
    <item>
      <title>Re: FMC 6.3 "unprocessable entity" error when trying to amend access rule</title>
      <link>https://community.cisco.com/t5/network-security/fmc-6-3-quot-unprocessable-entity-quot-error-when-trying-to/m-p/3804413#M16</link>
      <description>I believe "unprocessable entity" errors usually happen when an element in your JSON does contain a valid value, has an non-existent property, or is just  improperly formatted. If you have a way to output the JSON you're sending, check for any empty or null values. I have also seen the API be case-sensitive, so play around with True/true/TRUE.</description>
      <pubDate>Mon, 18 Feb 2019 21:42:40 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/fmc-6-3-quot-unprocessable-entity-quot-error-when-trying-to/m-p/3804413#M16</guid>
      <dc:creator>eckdd</dc:creator>
      <dc:date>2019-02-18T21:42:40Z</dc:date>
    </item>
    <item>
      <title>Re: FMC 6.3 "unprocessable entity" error when trying to amen</title>
      <link>https://community.cisco.com/t5/network-security/fmc-6-3-quot-unprocessable-entity-quot-error-when-trying-to/m-p/3956494#M17</link>
      <description>&lt;P&gt;EDIT 06/24/25 - This post is not correct.&amp;nbsp; Please see my post below.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.keycdn.com/support/422-unprocessable-entity" target="_blank" rel="noopener"&gt;https://www.keycdn.com/support/422-unprocessable-entity&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;The FMC understands the content type of the request entity and the syntax of the request entity is correct but was unable to process the contained instructions.&amp;nbsp; It is not a 400 (Bad Request) which usually happens when a parameter is wrong on you try to post an entry that already exists.&amp;nbsp; You are doing a put, which is correct.&amp;nbsp; Conclusion:&amp;nbsp; This is not an easy syntax fix.&amp;nbsp; Try to manual make the change on the FMC, and see it you get an error.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Jun 2025 14:29:14 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/fmc-6-3-quot-unprocessable-entity-quot-error-when-trying-to/m-p/3956494#M17</guid>
      <dc:creator>tyoung008</dc:creator>
      <dc:date>2025-06-24T14:29:14Z</dc:date>
    </item>
    <item>
      <title>Re: FMC 6.3 "unprocessable entity" error when trying to amen</title>
      <link>https://community.cisco.com/t5/network-security/fmc-6-3-quot-unprocessable-entity-quot-error-when-trying-to/m-p/3956499#M18</link>
      <description>&lt;P&gt;EDIT 06/24/25 - The JSON syntax is correct, but a value is incorrect.&amp;nbsp; The specific error will be returned in the JSON response.&amp;nbsp; For Python requests module, use the following code to return the error:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;response = requests.request(...)
resp_dict = json.loads(response.text)
error_msg = resp_dict['error']['messages'][0]['description']&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Original Post - This is cool, although it counters the info I gave above which is RFC standard, &lt;A href="https://tools.ietf.org/html/rfc4918#section-11.2.&amp;nbsp;" target="_blank" rel="noopener"&gt;https://tools.ietf.org/html/rfc4918#section-11.2.&amp;nbsp;&lt;/A&gt; In my experience syntax errors return an HTTP 400.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.cisco.com/c/en/us/td/docs/security/firepower/623/api/REST/Firepower_Management_Center_REST_API_Quick_Start_Guide_623/Objects_in_the_REST_API.html" target="_blank" rel="noopener"&gt;https://www.cisco.com/c/en/us/td/docs/security/firepower/623/api/REST/Firepower_Management_Center_REST_API_Quick_Start_Guide_623/Objects_in_the_REST_API.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;
&lt;PRE&gt;422 Unprocessable Entity&lt;/PRE&gt;
– The payload is too large. This will occur when you send a payload greater than 2048000 bytes.
&lt;P class="p"&gt;– The payload contains an unprocessable or unreadable entity such as a invalid attribut name or incorrect JSON syntax.&lt;/P&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Jun 2025 14:35:02 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/fmc-6-3-quot-unprocessable-entity-quot-error-when-trying-to/m-p/3956499#M18</guid>
      <dc:creator>tyoung008</dc:creator>
      <dc:date>2025-06-24T14:35:02Z</dc:date>
    </item>
    <item>
      <title>Re: FMC 6.3 "unprocessable entity" error when trying to amend access rule</title>
      <link>https://community.cisco.com/t5/network-security/fmc-6-3-quot-unprocessable-entity-quot-error-when-trying-to/m-p/4009102#M19</link>
      <description>&lt;P&gt;Can you post the JSON that you're sending in the PUT request?&amp;nbsp; I've done this same process and from experience I can tell you that you can't just send back all the data that you got in the GET request.&amp;nbsp; Specifically you have to remove the metadata and links attributes from the get result otherwise you will get this message.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jan 2020 22:03:37 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/fmc-6-3-quot-unprocessable-entity-quot-error-when-trying-to/m-p/4009102#M19</guid>
      <dc:creator>Michael Kozak</dc:creator>
      <dc:date>2020-01-09T22:03:37Z</dc:date>
    </item>
    <item>
      <title>Re: FMC 6.3 "unprocessable entity" error when trying to amend access rule</title>
      <link>https://community.cisco.com/t5/network-security/fmc-6-3-quot-unprocessable-entity-quot-error-when-trying-to/m-p/4009145#M20</link>
      <description>&lt;P&gt;For me, it was an ACP rule action set to BLOCK_WITH_RESET.&amp;nbsp; I believe I copied that exactly form the API Explorer.&amp;nbsp; I simply changed that to BLOCK and the error went away.&amp;nbsp; I haven't re-tested it in a while.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jan 2020 23:23:08 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/fmc-6-3-quot-unprocessable-entity-quot-error-when-trying-to/m-p/4009145#M20</guid>
      <dc:creator>tyoung008</dc:creator>
      <dc:date>2020-01-09T23:23:08Z</dc:date>
    </item>
    <item>
      <title>Re: FMC 6.3 "unprocessable entity" error when trying to amend access rule</title>
      <link>https://community.cisco.com/t5/network-security/fmc-6-3-quot-unprocessable-entity-quot-error-when-trying-to/m-p/4042258#M21</link>
      <description>&lt;P&gt;have you removed the metadata dictionary from the payload before executing PUT operation? That is the most common issue related to "Unprocessable Entity". If that is not it connect to FMC via SSH and execute "pigtail" command to get more details about the error from the webserver logs.&lt;/P&gt;</description>
      <pubDate>Sat, 07 Mar 2020 20:18:23 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/fmc-6-3-quot-unprocessable-entity-quot-error-when-trying-to/m-p/4042258#M21</guid>
      <dc:creator>Oliver Kaiser</dc:creator>
      <dc:date>2020-03-07T20:18:23Z</dc:date>
    </item>
    <item>
      <title>Re: FMC 6.3 "unprocessable entity" error when trying to amen</title>
      <link>https://community.cisco.com/t5/network-security/fmc-6-3-quot-unprocessable-entity-quot-error-when-trying-to/m-p/4042816#M22</link>
      <description>&lt;P&gt;Yes, I do not include the metadata dictionary when executing a put.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for the FMC info!&amp;nbsp; I will check that out the next time I get the error.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Oct 2022 15:32:15 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/fmc-6-3-quot-unprocessable-entity-quot-error-when-trying-to/m-p/4042816#M22</guid>
      <dc:creator>tyoung008</dc:creator>
      <dc:date>2022-10-06T15:32:15Z</dc:date>
    </item>
    <item>
      <title>Re: FMC 6.3 "unprocessable entity" error when trying to amend access rule</title>
      <link>https://community.cisco.com/t5/network-security/fmc-6-3-quot-unprocessable-entity-quot-error-when-trying-to/m-p/4097913#M23</link>
      <description>&lt;P&gt;Other than the previously stated &lt;STRONG&gt;metadata&lt;/STRONG&gt; and &lt;STRONG&gt;links&lt;/STRONG&gt; keys, I have also run into issues with the &lt;STRONG&gt;urls&lt;/STRONG&gt; key if you are using&amp;nbsp;"urlCategoriesWithReputation" and also the &lt;STRONG&gt;users&lt;/STRONG&gt; key if it references any AD realm.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I have this in all my scripts:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;# Remove unprocessible entities  (i being an element of "items" from GET operation on the ACL/AccessRules)&lt;BR /&gt;&lt;/SPAN&gt;i.pop(&lt;SPAN&gt;"metadata"&lt;/SPAN&gt;)&lt;BR /&gt;i.pop(&lt;SPAN&gt;"links"&lt;/SPAN&gt;)&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;if &lt;/SPAN&gt;&lt;SPAN&gt;'users' &lt;/SPAN&gt;&lt;SPAN&gt;in &lt;/SPAN&gt;i:&lt;BR /&gt;    &lt;SPAN&gt;for &lt;/SPAN&gt;j &lt;SPAN&gt;in &lt;/SPAN&gt;i[&lt;SPAN&gt;'users'&lt;/SPAN&gt;][&lt;SPAN&gt;'objects'&lt;/SPAN&gt;]:&lt;BR /&gt;        j.pop(&lt;SPAN&gt;'realm'&lt;/SPAN&gt;)                 # Need to remove the realm as it cannot be re-uploaded during PUT.&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;if &lt;/SPAN&gt;&lt;SPAN&gt;'urls' &lt;/SPAN&gt;&lt;SPAN&gt;in &lt;/SPAN&gt;i:                        # Need to remove invalid urlCategoriesWithReputation entries (missing name)&lt;BR /&gt;    &lt;SPAN&gt;if &lt;/SPAN&gt;&lt;SPAN&gt;'urlCategoriesWithReputation' &lt;/SPAN&gt;&lt;SPAN&gt;in &lt;/SPAN&gt;i[&lt;SPAN&gt;'urls'&lt;/SPAN&gt;]:&lt;BR /&gt;        &lt;SPAN&gt;for &lt;/SPAN&gt;index&lt;SPAN&gt;, &lt;/SPAN&gt;j &lt;SPAN&gt;in &lt;/SPAN&gt;&lt;SPAN&gt;enumerate&lt;/SPAN&gt;(i[&lt;SPAN&gt;'urls'&lt;/SPAN&gt;][&lt;SPAN&gt;'urlCategoriesWithReputation'&lt;/SPAN&gt;]):&lt;BR /&gt;            &lt;SPAN&gt;if &lt;/SPAN&gt;&lt;SPAN&gt;'name' &lt;/SPAN&gt;&lt;SPAN&gt;not in &lt;/SPAN&gt;j[&lt;SPAN&gt;'category'&lt;/SPAN&gt;]:&lt;BR /&gt;                i[&lt;SPAN&gt;'urls'&lt;/SPAN&gt;][&lt;SPAN&gt;'urlCategoriesWithReputation'&lt;/SPAN&gt;].pop(index)&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN&gt;Here is an example of the FMC injecting a bunk category into my URL filtering which prevented my PUTs from working.&lt;BR /&gt;&lt;BR /&gt;"urls"&lt;/SPAN&gt;: {&lt;BR /&gt;    &lt;SPAN&gt;"urlCategoriesWithReputation"&lt;/SPAN&gt;: [&lt;BR /&gt;        {&lt;BR /&gt;            &lt;SPAN&gt;"category"&lt;/SPAN&gt;: {                                               &lt;SPAN&gt;# This is a broken category&lt;BR /&gt;&lt;/SPAN&gt;                &lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;id&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;: &lt;SPAN&gt;"89a91712-fe55-11e4-a157-a9da511cbd1e"&lt;/SPAN&gt;&lt;SPAN&gt;,           &lt;/SPAN&gt;&lt;SPAN&gt;# It is missing "name"&lt;BR /&gt;&lt;/SPAN&gt;                &lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;type&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;: &lt;SPAN&gt;"URLCategory"&lt;BR /&gt;&lt;/SPAN&gt;            }&lt;SPAN&gt;,&lt;BR /&gt;&lt;/SPAN&gt;            &lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;type&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;: &lt;SPAN&gt;"UrlCategoryAndReputation"&lt;BR /&gt;&lt;/SPAN&gt;        }&lt;SPAN&gt;,&lt;BR /&gt;&lt;/SPAN&gt;        {&lt;BR /&gt;            &lt;SPAN&gt;"category"&lt;/SPAN&gt;: {&lt;BR /&gt;                &lt;SPAN&gt;"name"&lt;/SPAN&gt;: &lt;SPAN&gt;"Abortion"&lt;/SPAN&gt;&lt;SPAN&gt;,                                     &lt;/SPAN&gt;&lt;SPAN&gt;# This is a valid category.&lt;BR /&gt;&lt;/SPAN&gt;                &lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;id&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;: &lt;SPAN&gt;"a774acd8-8240-11e0-9682-6814b504fd68"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;BR /&gt;&lt;/SPAN&gt;                &lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;type&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;: &lt;SPAN&gt;"URLCategory"&lt;BR /&gt;&lt;/SPAN&gt;            }&lt;SPAN&gt;,&lt;BR /&gt;&lt;/SPAN&gt;            &lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;type&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;: &lt;SPAN&gt;"UrlCategoryAndReputation"&lt;BR /&gt;&lt;/SPAN&gt;        }&lt;SPAN&gt;,&lt;BR /&gt;     ]&lt;BR /&gt;}&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jun 2020 21:45:04 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/fmc-6-3-quot-unprocessable-entity-quot-error-when-trying-to/m-p/4097913#M23</guid>
      <dc:creator>tylerjshannon</dc:creator>
      <dc:date>2020-06-04T21:45:04Z</dc:date>
    </item>
    <item>
      <title>Re: FMC 6.3 "unprocessable entity" error when trying to amen</title>
      <link>https://community.cisco.com/t5/network-security/fmc-6-3-quot-unprocessable-entity-quot-error-when-trying-to/m-p/4608393#M391</link>
      <description>&lt;P&gt;Thank you so much - I kept getting a 422 response trying to modify variable sets on access rules and your response solved my problem (needed to remove the 'links' and both 'metadata' dictonaries). Been trying to figure this out for hours! Thanks again.&lt;/P&gt;</description>
      <pubDate>Wed, 11 May 2022 16:06:39 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/fmc-6-3-quot-unprocessable-entity-quot-error-when-trying-to/m-p/4608393#M391</guid>
      <dc:creator>Jay_Work</dc:creator>
      <dc:date>2022-05-11T16:06:39Z</dc:date>
    </item>
    <item>
      <title>Re: FMC 6.3 "unprocessable entity" error when trying to amen</title>
      <link>https://community.cisco.com/t5/network-security/fmc-6-3-quot-unprocessable-entity-quot-error-when-trying-to/m-p/4608431#M392</link>
      <description>&lt;P&gt;This is incredibly misleading because the swagger spec (the API explorer) is actually wrong for the "Example Value" for the requests. This has always been a problem. I will try to get this resolved in future releases, i have opened bug CSCwb85010 to address this (should be publicly visible in a day or two).&lt;/P&gt;&lt;P&gt;The problem is that the Example Value for the POST/PUT is actually the example response. One thing that may help is if you just ignore that example value, and click the "Model" instead (next to "Example value") which will tell you the valid structure for the request.&lt;/P&gt;</description>
      <pubDate>Wed, 11 May 2022 16:51:14 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/fmc-6-3-quot-unprocessable-entity-quot-error-when-trying-to/m-p/4608431#M392</guid>
      <dc:creator>John Groetzinger</dc:creator>
      <dc:date>2022-05-11T16:51:14Z</dc:date>
    </item>
  </channel>
</rss>

