Getting a 406 Not Acceptable Error – What’s Causing It and How Do I Fix It? or Why Am I Seeing a 406

34 Replies, 2832 Views

406 errors can happen if your server’s configured to only accept specific content types, and the client’s not sending the right ones.

Try this:
1. Inspect the request headers (Firefox/Chrome dev tools).
2. Compare them to what your server expects (check Apache/Nginx config).

If you’re using PHP, double-check any header() calls—might be forcing a weird content-type.

Messages In This Thread



Users browsing this thread: 1 Guest(s)