Codox
Search…
Error Events

max_sessions_exceeded

Emitted when the number of co-editing sessions created in a month has exceeded the monthly session quota of the subscribed plan.
1
//emitted whenever it is over the montly quota
2
codox.on("error", function(data){
3
if (data.message === 'max_sessions_exceeded'){
4
5
}
6
});
Copied!
We allow for some overages to allow your service to fall back gracefully.
To resolve this error, you can upgrade to a higher tier plan or wait till the month ticks over.

session_full

Emitted when a user is attempting to connect to a co-editing session that has reached the maximum number of allowed users, as determined by the subscription tier.
1
//emitted whenever remote changes have updated the document
2
codox.on("error", function(data){
3
if (data.message === 'session_full'){
4
5
}
6
});
Copied!
For instance, if the current subscription allows up to three users in a session, this error will be emitted if the fourth user tried to join the session from invoking either codox.init() or codox.start().

subscription_expired

Emitted when your team's subscription has expired, but we are unable to automatically renew the subscription using the provided payment method.
1
//emitted whenever the subscription has expired
2
codox.on("error", function(data){
3
if (data.message === 'subscription_expired'){
4
5
}
6
});
Copied!
Login to your account dashboard to renew the subscription using another payment method.

subscription_stopped

Emitted when your team's subscription has stopped at the end of the subscription month as requested.
1
//emitted whenever the subscription has been stopped
2
codox.on("error", function(data){
3
if (data.message === 'subscription_stopped'){
4
5
}
6
});
Copied!
Login to your account dashboard to restart the subscription.

trial_expired

Emitted when the trial period for the app integration has expired.
1
//emitted whenever the trial period has expired
2
codox.on("error", function(data){
3
if (data.message === 'trial_expired'){
4
5
}
6
});
Copied!
Login to your account dashboard to pay for a subscription.

validation_error

Emitted when your subscription cannot be validated.
1
//emitted whenever your subscription cannot be validated
2
codox.on("error", function(data){
3
if (data.message === 'validation_error'){
4
5
}
6
});
Copied!
Login to your account dashboard to check that you have a subscription for the app. Also confirm the apiKey and domains in the app configurations are as registered in the dashboard.
Last modified 1yr ago