Replies: 2 comments 10 replies
-
Do you have a working demo, or can you at least the code you're using? |
Beta Was this translation helpful? Give feedback.
6 replies
-
So the error is that id in your response is a string not a number. This is a function that checks if the response is valid JSON-RPC: function validJSONRPC(response) {
return typeof response.id === 'number' &&
(typeof response.result !== 'undefined' ||
typeof response.error !== 'undefined');
} I will create a bug for this. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I got this error each time I send a command:
What is wrong with my response?
content-type is application/json.
Beta Was this translation helpful? Give feedback.
All reactions