If the API key is not provided or incorrect, the API call will return 403 Forbidden. Currently, there are functions which do not handle the exception correctly. For example GetFileInfosInFolderAsync in OctoprintFileOperation.cs is only handling the 404 not found exception.
Add correct exception handling or forward the exception until it can be handle in a proper way.