Skip to content

[Web panel] Irrelevant username validation error when editing cover photo #11671

@zendagin

Description

@zendagin

Is there an existing issue for this?

  • I have searched the tracker for existing similar issues and I know that duplicates will be closed

Describe the Issue

When I try to edit the cover photo, it shows

There was a problem uploading your image. Please try again.

Steps To Reproduce

  1. Create a account with Google signin
  2. Go to https://[team].postman.co/settings/me
  3. Edit cover photo

Screenshots or Videos

No response

Operating System

Postman Version

Postman Platform

Postman Web

User Account Type

Signed In User

Additional Context?

It seems that the username is auto fetched from my Google profile, with the format FirstName LastName.

When I edit the cover photo, it submit a PUT request to https://god.postman.co/api/users/[userId], with not only the cover photo, but also the username info.

However, although the username is auto generated by the platform, the API throw validation error

Only alphanumeric characters and hyphens are allowed in username

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions