Does anyone have a discord notification integratio...
# ask-community
c
Does anyone have a discord notification integration setup correctly? I can’t seem to get it to work on
2.14.12
1
n
hey @Christian Sanchez - can you share what's going wrong? and are you on prefect cloud or server?
c
Not sure if logs are generated anywhere? I set up the notification settings like I’ve done in the past but I can’t get anything to post to the Discord server. Where can I find error messages for notifications? I’m on server, using open-source
n
the logs for notifications should be in the server logs
c
Okay, let me check. I have the server running in the background so I’ll run it normally.
@Nate - does this help?
Copy code
21:01:39.205 | ERROR   | prefect.server.services.flowrunnotifications - Unexpected error in: CompileError('The ORM FromStatement construct only supports being invoked as the topmost statement, as it is only intended to define how result rows should be returned.')

sqlalchemy.exc.CompileError: The ORM FromStatement construct only supports being invoked as the topmost statement, as it is only intended to define how result rows should be returned.
When I run
prefect server start
that error keeps printing to the console.
n
hmm yeah that definitely seems related to your problem, not sure what’s causing that off the top. i can look more into that later but an issue for tracking would be appreciated (with any details you can provide about how you’re running your server instance)
c
I got a step further… I was using sqlalchemy on
2.0.0
and updated it to
2.0.25
and I am no longer getting that error stack trace. However, it’s still not posting in the Discord server. Is there something I am missing from the setup? I attached a screenshot:
oh hold the phone. I just got the notifications
Not sure why they are delayed but I got them finally
🙌 1
n
oh good to hear!