Getting the following error when calling pinterest.search(scope=scope, query=query) function. 