@boby, {“error”:“not_found”,“reason”:“missing”}
This error is means bucket is not present. Also for creating a view it should be PUT request not POST. Post is for internal settings. https://docs.couchbase.com/server/current/rest-api/rest-views-intro.html
And also looking at your warning it looks like byfield.ddoc is empty or not readable. The file should contain view definition
example:
{“views”:{“test”:{“map”:“function (doc, meta) {\n {\n emit(meta.id, meta.rev);\n } \n}”}}}