Amazon said in a statement that it "quickly fixed" the error that allowed Alexa to suggest the challenge and that the company is "taking steps to help prevent something similar from happening again."
The child reportedly asked an Amazon Echo smart device to suggest a challenge for her. Alexa responded by offering a challenge that it had "found on the web." A so-called "penny challenge" circulated earlier this year, a dangerous stunt that runs the risk of electrical fires and injuries.
Amazon's Echo products, which are operated by voice commands made to Alexa, are among the most popular smart-home devices. But Amazon and Alexa have come under criticism before, especially over privacy.