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

Updating profile API error #3197

Open
Nikhilh26 opened this issue Feb 11, 2025 · 2 comments
Open

Updating profile API error #3197

Nikhilh26 opened this issue Feb 11, 2025 · 2 comments
Labels
bug Something isn't working feature request unapproved Unapproved for Pull Request

Comments

@Nikhilh26
Copy link

Describe the bug
I was working on the following page
Image
And when send a mutation to the server i get the following response

{ "data": { "updateUser": null }, "errors": [ { "message": "This action is forbidden on the resources associated to the provided arguments.", "locations": [ { "line": 2, "column": 3 } ], "path": [ "updateUser" ], "extensions": { "code": "forbidden_action_on_arguments_associated_resources", "issues": [ { "argumentPath": [ "input", "id" ], "message": "You cannot update the user record associated to you with this action." } ] } } ] }

Expected behavior
Admin should be able to update the profile

Actual behavior
Error is thrown

Screenshots
If applicable, add screenshots to help explain your problem.

Additional details
Add any other context or screenshots about the feature request here.

Potential internship candidates

Please read this if you are planning to apply for a Palisadoes Foundation internship

@Nikhilh26 Nikhilh26 added the bug Something isn't working label Feb 11, 2025
@github-actions github-actions bot added feature request unapproved Unapproved for Pull Request labels Feb 11, 2025
@Nikhilh26 Nikhilh26 changed the title Updating profile Updating profile API error Feb 11, 2025
@igennova
Copy link

can u assign this issue to me?

@mystry123
Copy link

please assign

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working feature request unapproved Unapproved for Pull Request
Projects
None yet
Development

No branches or pull requests

3 participants