Error when trying to create a connector with curl request

With /data/ I’ve permission problems

C:\Windows\system32>docker exec -it kafka-connect bash
[appuser@ff0799e74189 ~]$ mkdir /data/
mkdir: cannot create directory ‘/data/’: Permission denied

ah then 2 options

connect to docker as root

docker exec -it -u root kafka-connect bash

or switch the dir to
/home/appuser/data

1 Like

Error now is another time about mediatype with the same command above. :scream_cat: :scream_cat: :scream_cat: :scream_cat:

I made this

[root@ff0799e74189 appuser]# cd /data/
[root@ff0799e74189 data]# ls
error  processed  unprocessed

Directories and permissions aren’t causing HTTP errors

Stop using a windows curl.exe binary. Try Insomnia or Postman

Or exec into the container, then run curl (assuming it’s installed)