<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Topics tagged with 406-error]]></title><description><![CDATA[A list of topics that have been tagged with 406-error]]></description><link>https://fusionauth.io/community/forum/tags/406-error</link><generator>RSS for Node</generator><lastBuildDate>Wed, 14 Oct 2026 00:35:09 GMT</lastBuildDate><atom:link href="https://fusionauth.io/community/forum/tags/406-error.rss" rel="self" type="application/rss+xml"/><pubDate>Invalid Date</pubDate><ttl>60</ttl><item><title><![CDATA[Why does FusionAuth API return 406 Not Acceptable with gzip encoding?]]></title><description><![CDATA[<p dir="auto">This behavior occurs when the client sends an Accept-Encoding header that includes compression algorithms, but FusionAuth's response handling doesn't support the requested encoding method in certain configurations.</p>
<p dir="auto">The solution is to explicitly use Accept-Encoding: identity in your API requests. The identity value indicates that no encoding transformation should be applied, which FusionAuth handles correctly.</p>
<p dir="auto">If you're using an HTTP client library that automatically adds Accept-Encoding: gzip or similar headers, you should:</p>

Override the default Accept-Encoding header to use identity
Or configure your HTTP client to not send compression-related headers automatically

<p dir="auto">Example:</p>
GET /api/user/search HTTP/1.1
Host: your-fusionauth-instance.com
Authorization: &lt;your-api-key&gt;
Accept-Encoding: identity

<p dir="auto">This ensures consistent API responses without encountering 406 errors related to content encoding negotiation.</p>
]]></description><link>https://fusionauth.io/community/forum/topic/3243/why-does-fusionauth-api-return-406-not-acceptable-with-gzip-encoding</link><guid isPermaLink="true">https://fusionauth.io/community/forum/topic/3243/why-does-fusionauth-api-return-406-not-acceptable-with-gzip-encoding</guid><dc:creator><![CDATA[FASupportBot]]></dc:creator><pubDate>Invalid Date</pubDate></item></channel></rss>