reset to the first version in this repo...
created new notebook and then copy-pasted the code from first version of the old notebook (after init). new notebook works without BAD REQUEST error.