Skip to content

Instantly share code, notes, and snippets.

@jocopa3
Created February 11, 2017 18:52
Show Gist options
  • Save jocopa3/829ebcac1c510a9d8a5ac07284f43cac to your computer and use it in GitHub Desktop.
Save jocopa3/829ebcac1c510a9d8a5ac07284f43cac to your computer and use it in GitHub Desktop.
{
"body": {
"input": {
"message": "Hello World"
},
"origin": {
"type": "player"
},
"name": "say",
"version": 1,
"overload": "default"
},
"header": {
"requestId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"messagePurpose": "commandRequest",
"version": 1,
"messageType": "commandRequest"
}
}
@arpruss
Copy link

arpruss commented Dec 19, 2020

When I try to send this to a Pocket Edition client (with a random valid UUID filled in for requestId), I get an error message like:
msg: {"body":{"statusCode":-2147483643,"statusMessage":""},"header":{"messagePurpose":"error","requestId":"e95abddc-da80-42d7-bc83-6bc64e802ddf","version":1}}

Do you have any suggestions?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment