Troubleshooting the installation
Updated · 4 min read
Most installation problems are reported clearly by the installer. Fix the cause and run the installer again: it reuses your answers and continues from the stacks that already exist. A failed stack in ROLLBACK_COMPLETE is deleted and recreated automatically.
Prerequisite messages#
Message | What to do |
|---|---|
| Open CloudShell (or set your credentials) in the management account, not the hub account. |
| Enable the SCP policy type in AWS Organizations. |
| Enable an organisation instance of IAM Identity Center. See IAM Identity Center. |
An error mentioning Cost Explorer or | Enable Cost Explorer in the management account and wait for it to become available. |
| Request a quota increase in Service Quotas for the hub account and home region. |
| Use CloudShell, or install the missing tool on your machine. |
| Check the version number passed to |
Deployment problems#
Symptom | What to do |
|---|---|
| Open CloudFormation in the account shown (management or hub) and read the stack's Events tab for the first failure. Fix it and re-run. |
Access denied when deploying to the hub account | Check that |
| Request and validate an ACM certificate for your domain in us-east-1 in the hub account, or enter its ARN when asked. |
| You can't switch between a new and an existing VPC after the database exists, unless you remove the Data, Compute and API stacks. |
Credentials expired part-way | Sign in again and re-run the installer. |
| Remove the leftover helper stack: run the installer with |
First administrator problems#
Symptom | What to do |
|---|---|
A new installation failed after all the stacks were created, and re-running didn't ask for an administrator | Re-run with a configuration file that sets |
| A user with that email already exists in the Cognito user pool. Check it in the Cognito console, fix or remove it, and re-run. |
| Re-run the installer; this step is safe to repeat. |
The administrator gets no sign-in code | Check spam folders. Cognito's default email service sends a limited number of emails a day; see Sign-in codes and invitations. |
Upgrade problems (v1.2 to v1.3)#
Message | What to do |
|---|---|
| The backup failed, so nothing was changed. Check RDS snapshot permissions and quotas in the hub account and re-run. |
| The migration couldn't reach Sandbox Studio's public address. Check the custom domain's DNS, the Web App URL, and outbound internet access from the compute subnets. |
| Re-run the installer, or suspend and resume the affected leases. |
Leases listed as having | Add permissions to their templates, then suspend and resume each lease. |
To undo an upgrade, see Rolling back.
After installing or updating#
Symptom | What to do |
|---|---|
Sign-in fails with an HTTP 500 error after an update, downgrade or restore | The API stage is out of date. The installer redeploys it automatically; if that failed, it prints a command like |
Users get HTTP 403 errors | Their IP address isn't in the allow list, or they are on IPv6 while IPv4 is restricted. See Restricting access with IP allow lists. |
Users get HTTP 429 errors | The WAF rate limit (200 requests per minute per IP) was reached, often when many users share one network address. |
Users can't open sandbox accounts after a domain change or reinstall | Check that the Web App URL matches the address users use and that DNS points at the current CloudFront distribution. See Set up a custom domain. |
Leftover databases#
A restore or rollback can leave database instances named sandbox-studio-rds-pre-restore-… or sandbox-studio-rds-old-…. The installer finds them on its next run and asks Delete these instances? A final snapshot of each is taken first. (recommended). Unattended runs only delete instances set aside more than 7 days ago.
Getting help#
Contact support@sandboxstudiosoftware.com or visit support.sandboxstudiosoftware.com. Include the installer output, the version you were installing, and the failing stack's events.



