# HTTP 404 quando text/html non è il primo nell'header della richiesta accept

**URL:** <https://meta.discourse.org/t/http-404-when-text-html-is-not-first-in-accept-request-header/255164>\
**Category:** Bug\
**Tags:** pr-welcome, rest-api\
**Created:** [14 Febbraio 2023, 9:34pm UTC](https://meta.discourse.org/t/http-404-when-text-html-is-not-first-in-accept-request-header/255164 "2023-02-14T21:34:10Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)\
**Post date:** [31 Marzo 2023, 12:12am UTC](https://meta.discourse.org/t/http-404-when-text-html-is-not-first-in-accept-request-header/255164/6 "2023-03-31T00:12:45Z")

</div>

Questo non sarà facile da eseguire il debug, potrebbe essere correlato alla configurazione di NGINX in produzione, forse è in Rails non sono sicuro.

Proverei prima a fare la richiesta direttamente al processo Rails e non al proxy express, se funziona allora eseguirei il debug di un setup docker di produzione in locale.

---

_[View the full topic](https://meta.discourse.org/t/http-404-when-text-html-is-not-first-in-accept-request-header/255164)._
