Notifications Procedure in websocket documentation does not work - 422 Unprocessable entity #1925
Replies: 1 comment
-
|
Solved. Not a problem of CSS, but a problem with serialisation on my side. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I've been trying to use the notifications protocol based on WebSockets as stated in the documentation, but without success.
I've managed to get it working until the subscription creation with the POST request to the websocket url:
The server respons with 422 Unprocessable Entity, responding
Unable to process notification channel: Missing expected value <http://www.w3.org/ns/solid/notifications#WebSocketChannel2023> - http://www.w3.org/1999/02/22-rdf-syntax-ns#typeThe object I am using is 1:1 to the one provided in the documentation, I just set the correct content type of the body before sending the request.
Beta Was this translation helpful? Give feedback.
All reactions