Closed dustmop closed 5 years ago
Tried to set the new repo name to just "new_repo", without "me/". Same error happens but the Request Payload is now:
------WebKitFormBoundaryr7HiW5xrrT94iMGC
Content-Disposition: form-data; name="file"; filename="dataset.json"
Content-Type: text/plain
------WebKitFormBoundaryr7HiW5xrrT94iMGC
Content-Disposition: form-data; name="body"; filename="body"
Content-Type: text/plain
------WebKitFormBoundaryr7HiW5xrrT94iMGC
Content-Disposition: form-data; name="name"
new_repo
------WebKitFormBoundaryr7HiW5xrrT94iMGC
Content-Disposition: form-data; name="peername"
me
------WebKitFormBoundaryr7HiW5xrrT94iMGC
Content-Disposition: form-data; name="dry_run"
true
------WebKitFormBoundaryr7HiW5xrrT94iMGC
Content-Disposition: form-data; name="return_body"
true
------WebKitFormBoundaryr7HiW5xrrT94iMGC--
This was an issue with the electron:start
command, which for some reason is running a very old version of the code, which is hitting the now removed /new
endpoint. Running with web:dev
instead works fine.
Running with
yarn run electron:start
, trying to create a new dataset "me/new_repo" with the body:clicking "dry run" or "new" displaying the message:
In developer tools, Request Payload shows:
Digging into whether this is a frontend or backend issue...