When a 406 error occurs, it means that it is a client error, and the client cannot parse the content returned by the server
Generally, in the accept header sent by the client, the allowed type is set, but the server does not return in this format
Accept represents the type of data that the sender (client) wants to accept.
If the type specified by accept is inconsistent with the content-type returned by the response, a 406, not acceptable error will occur
Modify the server to return in the specified format
Or modify the client to accept the format of the server
Read More:
- How to Solve Error: could not list the contents of folder
- How to Solve Error: Resource’/Servers’ does not exist
- [Uniapp] Solve the error plus not defined when pushing
- How to Solve Error: “initializer element is not constant”
- Solve the data transfer between vue irrelevant components error: this.$store.commit is not a function
- [Go] Solve the fatal error: concurrent map writes map is not concurrently safe
- [GO]Solve request origin not allowed by Upgrader.CheckOrigin websocket cross-domain
- How to Solve VMware Workstation Error: The VMware Authorization Service is not running.
- How to Solve Error: Module did not self-register
- How to Solve VScode 2022 error: msvcp110d.dll not found
- Error: env [NODE_ENV] is not set (How to Solve)
- How to Solve Gradle Error: Plugin with id ‘jetty’ not found.
- How to Solve HBase error: region is not online
- How to Solve Error: IncompleteElementException: Could not find result map…
- [MAC] How to Solve zsh Error: command not found: umi
- How to Solve Error: Android java.lang.IllegalStateException: Could not execute method of the activity
- How to Solve jQuery error: Uncaught ReferenceError: $ is not defined
- How to Solve Error:‘itoa’ was not declared in this scope
- How to Solve org.apache.ibatis.binding.BindingException: Invalid bound statement (not found) Error
- How to Solve “Status bar could not find cached time string image. Rendering in-process.” in Xcode