Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

cdubant's avatar

Recent notifications retrieval (API) returns an error

Dear fellow developers,

I've setup Spark 3.0 pretty easily and started devleoping an app.

I find it pretty annoying to find the exact same issue that made me quit developing my previous app with Spark (back in v 0.x) and come back in v3 to see that recent notifications API call fails (randomly apparently, and I still can't explain it).

The call to :

http://localhost:8000/notifications/recent (GET)

returns :

401 Unauthorized

{"error":"Unauthenticated."}

Does anyone have the same problem? Had in the past and found a way to solve?

Thanks in advance.

0 likes
2 replies
cdubant's avatar

My bad, forgot to mention :

And the API call failure due to unauthorization shows a popin saying "Session expired !" with a "Go to Login" button.

cdubant's avatar

Am I the only one encountering this issue?

Thanks for your replies !

Please or to participate in this conversation.