You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
BTW, you could use SignalR function extensions in Python to send messages to a connection, like this:
defmain(req: func.HttpRequest, signalROutput: func.Out[str]) ->func.HttpResponse:
message=req.get_json()
signalROutput.set(json.dumps({
#message will only be sent to this user ID'connectionId': 'connectionId',
'target': 'newMessage',
'arguments': [ message ]
}))
Describe the bug
While we're trying to send a message to specific connectionId, we're receiving the 401 status code
More Details:
Code:
FYI Access token was generated using the SignalR Serverless Quick start with python
Exceptions (if any)
We're getting
b''
as API response and401
as status code.Further technical details
REST API Version: V1
Tasks
The text was updated successfully, but these errors were encountered: