-
-
Notifications
You must be signed in to change notification settings - Fork 888
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: UnblockUser
mutation always returns UnauthorizedError
#2238
Comments
@palisadoes This is a blocking issue for the issue talawa-admin/issues/1885 in Talawa-admin. Please assing this to me. |
@Doraemon012, did you feel any changes recently? Like API getting very slow? Pages keep loading? CORS error in API randomly? Bcuz i got this If you're facing this only for one mutation then please check if you find any flaw in the API code or not. |
@pranshugupta54, I agree that the API seems slower, but that's not why we're getting the UnauthorizedError in the UnblockUser mutation. The real issue is a mistake in the code. |
I got this similar for fund raising campaigning randomly then it got resolved automatically. Let's see if you could find some issue with code |
Issue Description:
Bug:
The
UnblockUser
mutation always triggers anUnauthorizedError
, making it impossible to unblock a blocked user.Steps to Reproduce:
BlockUser
) within an organization.UnblockUser
) within the organization.UnauthorizedError
.Expected Behavior:
The
UnblockUser
mutation should not result in anunauthorized error
. After blocking a user, unblocking should be possible without encountering this error.Actual Behavior:
The
UnblockUser
mutation always returnsUnauthorizedError
.Screenshots:
Screencast.from.2024-04-20.23-14-58.webm
Additional Note:
For potential internship candidates: Please review this issue if you are considering applying for a Palisadoes Foundation internship: Link to internship issue
The text was updated successfully, but these errors were encountered: