Troubleshooting Common Python Client Issues

Jupyter Notebooks

Uploading Errors

Notebooks may have some specialized errors when using the aquariumlearning client for the first time in your environment.

Common error #1:

InvalidResponse: ('Request failed with status code', 201, 'Expected one of', <HTTPStatus.OK: 200>)

This error most commonly manifests when running an upload for the first time, shortly after installing the aquariumlearning package in your notebook python environment. This occurs due to an older version of a package we depend on google-resumable-media, being sourced in your environment.

The Solution is to restart your notebook kernel after installing the aquariumlearning package for the first time. This can be done by restarting the kernel manually, or running the following in

import importlib
importlib.reload(al)