good grief, i’m an idiot.
early on in the development process and before trying to scale, i had already reduced my output in the message handler. naturally, this omitted the required data:
def on_message(ws, message):
my_msg = json.loads(message)
if my_msg["type"] == "MESSAGE":
print(json.loads(my_msg["data"]["message"]))
your suggestion is absolutely correct and will work. thank you so much for the prompt response and not tearing into me. 