Open Joncom opened 6 years ago
Generally speaking, a 500 error suggests something is going wrong on the Cocoon side?
I think I figured it out.
I was supplying my project “Bundle ID” (ca.commins.stomp
), instead of the “Project ID” (m_DAf2uHoJzrv5xlCs7aSg
).
This “Project ID” seems nowhere to be found in the Cocoon dashboard, however I noticed the URL when editing my game:
https://cocoon.io/projects/m_DAf2uHoJzrv5xlCs7aSg
Therefore, the project ID can be found in the URL when viewing your game, and appears to be 22 characters long.
Would be nice if this was documented somewhere.
This is the JSON the Cocoon API served with the 500 error:
{ status: 'ERROR',
description: 'Internal server error',
code: 500 }
Would be great if the API provided a more meaningful error message.