You don't need any special permissions. Have you checked if notification tokens are set for those users?
Our notifications don't work with any of our accounts.
Hi Anton,
My apologies for the confusion earlier. I checked the tc_users table directly and examined the JSON structure inside the attributes column.
I can see that while administrator and manager accounts have the "notificationTokens" key correctly populated, most standard users have it empty or missing completely.
Since we are using a custom app, it is highly likely that our app is trying to update the token by sending a partial payload to PUT /api/users/{id} (e.g., sending only the attributes object). I recall that Traccar requires the entire user model to be sent during a PUT request because partial updates are not supported.
Is this strict model validation why standard users are being blocked from updating their tokens, and should our client application be updated to fetch and send back the complete user model along with the new notificationTokens?
Thank you for your time!
Didn't you think it would be important to say that you're using your own custom app? Sounds like you're misusing the API and that's exactly the problem. I'm kind of shocked that the first thing you assumed is that the server is broken, without even checking your app.
I think there’s a misunderstanding. I never assumed or stated that the server was broken; in fact, I started by stating: 'I am experiencing an issue with push notifications in Traccar where they are only being delivered to specific account types.'
My logic wasn't misplaced: since admin notifications were working perfectly, it proved the server's push engine was functional. That is why I didn't suspect the custom app implementation at first, as the payload structure being sent was identical.
That being said, I apologize for the misunderstanding and for any frustration caused. I am now reviewing how our custom app handles token registration for non-admin users to see if that's where the breakdown is happening. I will update the thread once I have more information."
Regards
I said it many times on this forum, but I'll repeat it again. If you're using some customized version of the server or the app, that should be absolutely first thing you mention for any help requests. My response in those cases would almost always be to test the official version first, which you can probably anticipate and avoid back and forth.
Hi everyone,
I am experiencing an issue with push notifications in Traccar where they are only being delivered to specific account types.
The Problem:
Administrators and Managers: Receive push notifications successfully without any issues.
Standard Users: Do not receive any push notifications at all. Not even test
What I have checked so far:
The notification settings and permissions for standard users seem to be correctly configured.
The devices are properly registered, but the tokens don't seem to trigger notifications for non-admin accounts.
Has anyone encountered this behavior before? Is there a specific permission or configuration required for standard users to receive push notifications that I might have missed?
Any guidance or troubleshooting steps would be greatly appreciated.
Thank you!