User's cannot email

Hi there,

I have a small issue with sending email inside tracker app for the users. As admin I can send any message, but user’s cannot.


I know it is connected to the permission, as I got on the console reply from the server:
httpStatus: “Forbidden”
httpStatusCode: 403
message: “Access is denied”
status: “ERROR”

Could you any one point me out where can I set those permission so user could email inside the Tracker app?

Thank you.
Regards, Ulanbek

Hi @Ulanbek

Does the user role assigned to this user have access to send email under system?

Go to Users - user role - select the roles the user has been assigned to and look for send email here:

Hopefully it will solve the problem.

Caroline

1 Like

Hi Caroline,
Thank you for your reply. Yes, it is enabled.
What else may affect this functionality?

Thanks.
Regards, Ulanbek

1 Like

Given the email configurations are correct because Admin can send emails and that users are given the permission to send emails but it’s not working then I think we’d need to investigate this a bit more.

Any chance there’s more info in the Network log or the Catalina log that could help debug the issue please? It might help to know the dhis2 version as well.

Thanks!

Hi Al-Gassim,

Unfortunately I don’t have an access to the Catalina log files.
DHIS version is:
Version - 2.36.10.1-SNAPSHOT
Build revision - 0a0d8e3
Build date May 3, 2022, 22:54

Here is the server’s response screenshot:

This is the maximum what I could get from the logs:
“POST /api/messages HTTP/2.0” 403 93 “https://…/dhis-web-tracker-capture/index.html” “Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.41 Safari/537.36” “-”

Today I have forwarded question to the hosting admin, so they have to try find out the solution.
Let’s wait.

Thank you again Al-Gassim

Regards,
Ulanbek

1 Like

Hi @Gassim ,

We have tried to find the reason why user cannot email inside Tracker App, but failed.
Therefore the ticket [DHIS2-12217] - Jira which was created 1/12/21, has been updated. And it seems this is a bug. Unfortunately that ticket still haven’t been assigned to anyone yet.

Let’s wait.

Thank you
Regards,
Ulanbek

1 Like

Okay, thank you a lot! I am triaging to the developers and we’ll get back to you asap. :pray::pray:

1 Like

Thanks @Gassim,
That would be even better and could accelerate the bug fixage time.

Have a great day!

Ulanbek

1 Like