You have written the code to call an API. However, when authentication errors or timeouts occur, you don't know what to check ...
This is the Python material that does not get left behind. Almost none of it is replaced by a framework later. Learn it, and keep this cheat sheet close by as a handy reference.