for a research project, we are running a Node.js server that controls >20 Particle Cores from 4 different user accounts. We control these cores using the Spark JS API. For every call, we login using the access-token of the user account, and then send a message to the core.
However, when sending messages from the node server to the different accounts, we get random “permission denied” messages.This happens especially when rapidly sending messages to different accounts at almost the same time. But is does not always happen for the same account, it seems a bit random?
Any suggestions to what could cause this, or how to debug this?