Skip to content

User not found #19

Description

@TheoOliveira
Traceback (most recent call last):
  File "/silly/path/to/nowhere/test", line 4, in <module>
    from expert_finder.main import test
  File "/silly/path/to/nowhere/main.py", line 7, in <module>
    from expert_finder.crew import ExpertFinder
  File "/silly/path/to/nowhere/crew.py", line 7, in <module>
    from expert_finder.tools.google_scholar_scraper import google_scholar_scraper
  File "/silly/path/to/nowhere/google_scholar_scraper.py", line 4, in <module>
    google_scholar_scraper = ApifyActorsTool(actor_id='kdjLO0hegCjr5Ejqp', apify_api_token=api_key)
  File "/silly/path/to/nowhere/tools.py", line 87, in __init__
    'description': self._create_description(apify_client, actor_id)
  File "/silly/path/to/nowhere/tools.py", line 129, in _create_description
    build = get_actor_latest_build(apify_client, actor_id)
  File "/silly/path/to/nowhere/utils.py", line 104, in get_actor_latest_build
    if not (actor := apify_client.actor(actor_id).get()):
  File "/silly/path/to/nowhere/_logging.py", line 84, in wrapper
    return fun(resource_client, *args, **kwargs)
  File "/silly/path/to/nowhere/actor.py", line 113, in get
    return self._get()
  File "/silly/path/to/nowhere/resource_client.py", line 26, in _get
    catch_not_found_or_throw(exc)
  File "/silly/path/to/nowhere/_utils.py", line 118, in catch_not_found_or_throw
    raise exc
  File "/silly/path/to/nowhere/resource_client.py", line 16, in _get
    response = self.http_client.call(
        url=self.url,
    ...<2 lines>...
        timeout_secs=timeout_secs,
    )
  File "/silly/path/to/nowhere/_http_client.py", line 218, in call
    return retry_with_exp_backoff(
        _make_request,
    ...<3 lines>...
        random_factor=DEFAULT_BACKOFF_RANDOM_FACTOR,
    )
  File "/silly/path/to/nowhere/_utils.py", line 66, in retry_with_exp_backoff
    return func(stop_retrying, attempt)
  File "/silly/path/to/nowhere/_http_client.py", line 216, in _make_request
    raise ApifyApiError(response, attempt)
apify_client._errors.ApifyApiError: User was not found or authentication token is not valid

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions