Issue with delete from couch DB via API action

Wappler Version : 6 beta 3
Operating System : win 11
Server Model: node
Database Type: docker local couchand MySQL
Hosting Type: docker local

Expected behavior

What do you think should happen?

record should delete from the couchdb database

Actual behaviour

Error message

{
status: "500",
message: "Request body must be a JSON object",
stack: "Error: Request body must be a JSON object
    at responseHandler (/opt/node_app/node_modules/nano/lib/nano.js:206:20)
    at /opt/node_app/node_modules/nano/lib/nano.js:456:13
    at processTicksAndRejections (node:internal/process/task_queues:96:5)"
}

Last line of code in the current project and just couldn’t get to the finish line :frowning_face:
See video

@patrick

I am still getting this error.

simple delete action to clean out a pouch database

Simple delete all action to delete all recors from a pouchDB table

I get this error

Debug Log although looks pretty useless

wappler.zip (623 Bytes)

This has had a 90 minute pouch/couch tutorial on hold for four months now

Seems this bug report got buried so we missed it in the last updates.
@patrick will check this after our Christmas break in the beginning of January.

1 Like

Out of country for 2 1/2 months from mid January, would really like to get this finished before then

1 Like

Still same error for me with delete action

This should be now fixed in Wappler 6.0.4