Troubleshoot Production Issues
When players have a problem in your released mini game, record the impact and the entry point, and limit the ongoing impact when it's safe to. Then check the live version and reproduce the issue safely. If you can't resolve it, send Developer Support a report with sensitive data removed.
For issues during development and testing, see Development Troubleshooting.

Caution: If the issue involves payments, player progress, or entitlements, preserve the existing records and check their state first. Don't repeat a charge, grant a reward twice, or overwrite player data to reproduce the issue.
Prerequisites
- Access to your app on the Developer Portal
- An authorized test account
- Access to your game's backend services and logs, if your game uses them
Assess impact and mitigate
- Record the game name, client key, when the issue was first observed (with the time zone), the expected result, and the actual result. If you don't know when it started, record the last time you know it worked and when the issue was first observed.
- Identify the entry point players used, and the affected regions, TikTok versions, devices and operating systems, networks, and player actions. Record which combinations pass and which fail. Mark combinations you haven't tested as unknown.
- Check your game services, recent code or configuration changes, and the player reports you have. Developer Portal analytics can help you assess the scope, but the data might be delayed or still processing. An empty value doesn't mean no players are affected.
If players are still affected, you don't have to wait for a confirmed root cause:
- Preserve the related order, save, and change records.
- If you have a reversible mitigation that you control, are authorized to use, and have tested, apply it. For example, temporarily turn off the affected feature on your game backend. Before you change payment or save behavior, decide how existing orders and player data will be preserved and recovered.
- Record the action, the time, and the outcome, and keep monitoring player feedback.
If no safe mitigation is available, or the issue needs action on the platform side, contact your TikTok contact or Developer Support. Don't assume that platform rollback or shutdown controls are available.
Check the live version and reproduction environment
- On the Developer Portal, check the game's released production version, and any staged version and status your account can see. Match the players' entry point and time to the known versions. If you can't confirm which version players received, mark it as unknown.
- Find the source project, build output, assets, and game service configuration for that version. Record how the package you test relates to the affected version. A local project or a newer preview version isn't necessarily the version players received.
- With an authorized test account, match the device, region, and entry point as closely as you can. Reproduce account, payment, or save operations in a safe test environment first, and record how it differs from production.
If the issue appears only for one version, device, or entry point, investigate that difference first. It's a lead, not proof of the cause. If you can't reproduce the issue in a preview version, keep your production observations and contact Developer Support.
Isolate the issue and prepare a support report
- For the symptom you see, use Development Troubleshooting, the Error Code Reference, and the guide for the related capability. Check your game code, game services, and platform configuration as applicable. A single error message doesn't show which component is responsible.
- In production, Developer options and logs might be limited. If they're available, record the information panel and the error summary. For more detail, reproduce the issue safely in a preview version or DevTool.
- Keep the results from remote debugging, real-device preview, and production separate.
- In your report, include the client key, the version type and known version, entry point, time and time zone, device and operating system, TikTok version, account region, and steps to reproduce.
- Add the errors with sensitive data removed, the expected and actual results, any information you couldn't get, and the checks you already tried.
Warning: Before you share logs, screenshots, recordings, or URLs, remove passwords, session cookies, the client secret, authorization codes, access tokens, refresh tokens, personal data, and sensitive URL parameters. Don't send complete player saves or payment credentials. Don't enter account passwords in terminal commands. Sign in to DevTool with its interactive login prompts.
Validate the fix and verify recovery
- Before you change code or configuration that affects live players, confirm the scope, impact, conditions for stopping, and how to recover. Confirm the platform's rollback and release options with TikTok.
- If the package changed, rebuild and upload it, open Preview for the new code version, and test the affected paths and core gameplay again. If the package didn't change and the original version is still available, test the changed configuration or service with the original version.
- Test ads, payments, and entitlements with authorized test methods. A mock checks only a simulation. If a payment result is uncertain, reconcile the original order before any further charge or grant.
- If the fix is a new code version, submit and release the tested version with the current process. For details, see Release Your Mini Game. If only the server or platform configuration changes, check the current rules to confirm whether review or release is required and how the change takes effect.
- After the fix takes effect, if the affected feature is still turned off, restore it as described in the following section. Then check the original issue and critical paths again through the affected entry points, on the devices and in the regions available to you.
- One test account that passes proves only that combination. Use player feedback and data to keep checking the rest of the affected scope.
Restore a feature you turned off
- Test the fix safely, and confirm that the code or service change is live.
- If you're authorized and can safely control the game-side switch, turn the feature back on within the scope you control.
- Record the time and scope. Check the affected entry points, related orders, and player feedback again.
If the issue comes back, apply your tested mitigation again when it's safe to, and contact TikTok. Don't assume that platform rollback controls exist.
Next steps
- Development Troubleshooting: Check issues by symptom and prepare reports.
- Error Code Reference: Look up error codes and suggested actions.
- Release Your Mini Game: Preview, review, and release your game.
- Mini Games Analytics: Check when data is ready and updated.
- In-App Purchases: Handle payments and orders.
- Developer Support: Contact TikTok for help.