Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 Bug Report: Profile image not loading for invited team member #1578

Open
2 tasks done
ChiragAgg5k opened this issue Dec 27, 2024 · 0 comments
Open
2 tasks done
Labels
bug Something isn't working

Comments

@ChiragAgg5k
Copy link

👟 Reproduction steps

  1. Invite a user to your team.
  2. Image doesn't show
Image

👍 Expected behavior

It should show an image.

👎 Actual Behavior

Image isn't showing. Here is the error from network call:

Image
{
    "message": "Invalid `name` param: Value must be a valid string and at least 1 chars and no longer than 128 chars",
    "code": 400,
    "type": "general_argument_invalid",
    "version": "1.6.1"
}

So this happens because the url https://cloud.appwrite.io/v1/avatars/initials?name=&width=80&height=80&project=console&name=&width=80&height=80&project=console
has the name parameter as none, since the invited user's name wasn't specified (it was optional)

🎲 Appwrite version

Appwrite Cloud

💻 Operating system

Linux

🧱 Your Environment

No response

👀 Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

@ChiragAgg5k ChiragAgg5k added the bug Something isn't working label Dec 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant