Submitting to Sandbox only

Check —> Permissions of your DATABASE! This will be surely be the reason.
To test functionality of CODE, just set all PERMISSIONS to EVERYONE.