# Infinitely retrying to get user

**URL:** <https://meta.akkoma.dev/t/infinitely-retrying-to-get-user/600>\
**Category:** Support\
**Created:** [2 October 2023 04:49 UTC](https://meta.akkoma.dev/t/infinitely-retrying-to-get-user/600 "2023-10-02T04:49:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![andho](https://meta.akkoma.dev/user_avatar/meta.akkoma.dev/andho/32/315_2.png) [@andho](https://meta.akkoma.dev/u/andho)\
**Post date:** [2 October 2023 04:49 UTC](https://meta.akkoma.dev/t/infinitely-retrying-to-get-user/600/1 "2023-10-02T04:49:59Z")

</div>

Backend is trying to get a user and failing infinitely with following error:

```auto
[error] Could not fetch user https://example.com/users/example_user

```

It’s a changeset validation issue:

```auto
errors: [fields: {"should have at most %{count} item(s)", [count: 20, validation: :length, kind: :max, type: :list]}]

```

Ideally, after a number of failures, akkoma should save this user with an error like twitter shows “Error retrieving user info” and an option for a user to retry retrieving the user when they encounter it in the frontend.

At least, there should be a limited number of retries until the backend should stop trying to get the user info.
