query _list returns Error
See original GitHub issueHi,
When i use the following function
$.couch.db("db").list("app/listfunction", "viewfunction", {
success: function(data) {
console.log(data);
},
error: function(status) {
console.log(status);
},
});
</script>
I get the error
jquery.js:8434 GET http://1.2.3.4:5984/db/_design/app/_list/listfunction/viewfunction 406 (Not Acceptable)send @ jquery.js:8434jQuery.extend.ajax @ jquery.js:7986ajax @ jquery.couch.js:984list @ jquery.couch.js:818(anonymous function) @ index.html:61
jquery.couch.js:1016 Uncaught An error occurred accessing the list: Content-Type application/json not supported, try one of: text/html; charset=utf-8
The _list functions generates a HTML Table. If I open http://1.2.3.4:5984/db/_design/app/_list/listfunction/viewfunction directly I can see the Table. Just when my page uses the function from above I get the error.
Issue Analytics
- State:
- Created 7 years ago
- Comments:29
Top Results From Across the Web
Calling hibernate query list() method generates errors
I am trying to retrieve a list of jobs from the database, but there seems to be a problem. In the entity class:...
Read more >Error when using Get Items to query a list
The issue I have is when I use a "Get Items" to query the "Master List" it goes through every single item in...
Read more >Error at first value while using list.generate in power query
Generator to achieve this task, problem I am facing here is for first value in list always returns error and remaining values are...
Read more >Apex error 'List has no rows for assignment to SObject'
The error "List has no rows for assignment to SObject" occurs when query doesn't return any rows. Resolution. While a SELECT normally returns...
Read more >5 Common Hibernate Mistakes That Cause Dozens of ...
JPA and Hibernate get often criticized for executing much more queries than expected. ... Modeling Many-to-Many Associations as a List.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Our patch has been merged to upstream! apache/couchdb-jquery-couch#5
🎉
Cool, thanks for your time!!! 👍