Messages in the output
Every warning the module can print, what it means and what to do.
The module speaks through warn, always starting Atomo:, and only when something needs you. Each message comes once a server, or once in 10 minutes at most. quiet = true stops them all.
When it starts
These mean nothing is reported until it is put right.
| Message | Means | Do |
|---|---|---|
start needs the reporting key. Nothing is reported. | No key: usually the secret couldn’t be read. | Check the secret’s name is atomo_report. In Studio, add a local secret. |
start needs an https address. Nothing is reported. | The url is missing, isn’t https, or has a path. | Use https://api.useatomo.com. |
a data store's name or scope isn't one. Nothing is reported. | The scope is empty, not text, or over 50 characters. | Fix scope, or leave it out for global. |
maxSize isn't a number of bytes. Nothing is reported. | maxSize is not a number of 1 or more. | Give a number of bytes, or leave it out. |
start's settings can't be read. Nothing is reported. | start wasn’t given a table. | Call Atomo.start({ … }) with the options. |
start was already called. | A second start: it is ignored. | Start it once, in one script. |
a part of it is missing. Nothing is reported. | Queue isn’t inside Atomo. | Insert the file again |
it only works on the server. | It was required from a client. | Require it from a server Script only. |
it does nothing inside an Actor. | The module is inside an Actor. | Keep it in ServerStorage. |
something was reported before start. | A report came before start; it is dropped. | Call start first, before players join. |
While it sends
| Message | Means | Do |
|---|---|---|
HTTP requests are off in this experience's security settings. | Roblox won’t let it send. | Turn on Allow HTTP Requests, and publish. |
the key isn't right, or was removed. | Atomo doesn’t know the key. Saves wait. | Put a working key in the secret. Keys |
the address is wrong, or it can't answer (404). | The url leads somewhere that isn’t Atomo, or that answers in a way it can’t use. | Check url. |
a data store isn't connected. Its saves aren't reported. | Atomo has no data store of that name and scope for this game. | Connect it: game Settings, Data stores not connected. |
can't be reached. Saves waiting: 12. | Atomo didn’t answer three times in a row. It keeps trying. | Nothing, unless it lasts: then tell us. |
has to wait, too many requests. Saves waiting: 12. | Atomo asked it to slow down. Saves wait. | Nothing: it sends again when told. |
the queue is full, so the oldest saves are dropped. | 500 saves or 8 MB were waiting on this server. | Nothing: newer saves still go. A full sync finds what was dropped. |
a save couldn't be sent, and was dropped. | One save failed on its own five times. | Look for odd data in that save (see below). |
the server closed. Not sent: 3. | Saves still waiting when the 5 seconds of closing ended. | Nothing: the next load reports those players. |
Saves it couldn’t report
a save couldn't be reported: … names why, before anything was sent:
| Why | Means |
|---|---|
no data store's name | The first argument isn’t the data store’s name. |
no key | The key is missing, not text, or over 200 characters. |
no data | The data is nil, or can’t be turned into JSON as anything. |
no version | The key info has no version Atomo can read. |
no time | The key info has no time Atomo can read. |
its user IDs | More than 20 user IDs, or one that isn’t a whole number. |
too many data stores | This server already reports 10. |
it's from a mock data store | ProfileStore’s mock: not in Roblox, so not reported. |
NaN or infinity | A number Roblox can’t save as it is. |
too large | Over maxSize. That key isn’t copied again until the server closes. |
it yielded | Reading the data waited, which a metatable can cause. |
it can't be read | Reading the data errored, such as on a value JSON can’t hold. |
Saves Atomo refused
refused 3 of 50 saves: … names why Atomo turned some down. The rest were taken. Refused saves aren’t sent again.
| Why | Means |
|---|---|
storage_full | Your organisation’s storage is full, so new players aren’t added. Players already in Atomo still are. Storage |
too_large | The save is larger than Roblox keeps under one key. |
too_deep | The data is nested more deeply than Atomo keeps. |
bad_key | The key is over 200 characters, or has characters Atomo can’t keep. |
bad_version | The version isn’t one Roblox makes. |
bad_time | The time is more than an hour ahead, or a removal waited over a day. |
bad_users | The user IDs aren’t whole numbers above 0, or there are more than 20. |
mock_save | A mock data store’s save. |
cant_store | The data holds something Atomo’s database can’t store. |
bad_save, bad_value | The save wasn’t shaped as the module sends it: a module from another version. |
no reason given | A reason this module doesn’t know: a newer Atomo. Update the module. |