LOS ANGELES ó Peter Rabbit filmmakers and the studio behind it are apologizing for insensitively depicting a characterís allergy in the film that has prompted backlash online. Sony Pictures says Sunday in a joint statement with the filmmakers that "food allergies and are a serious issue" and the film "should not have made light" of a character being allergic to blackberries "even in a cartoonish, slapstick way." In Peter Rabbit which was released this weekend, the character of Mr. McGregor is allergic to blackberries. The rabbits fling the fruit at him in a scene and he is forced to use an EpiPen. The charity group Kids with Food Allergies posted a warning about the scene on its Facebook page Friday prompting some on Twitter to start using the hashtag #boycottpeterrabbit. The group said that allergy jokes are harmful to their community and that making light of the condition "encourages the public not to take the risk of allergic reactions seriously." As a mother of a toddler allergic to several foods, I am disgusted that Sony would make a joke out of flicking an allergen at a food allergic individual. Doing so is felony aggravated assault! What kind of message does that scene send to kids?! #boycottpeterrabbit— hydrogirl71 (@hydrogirl71) February 10, 2018#PeterRabbitMovie @SonyPicturesWould you laugh at a person with diabetes force fed sugar? No. But that's exactly what you're doing in your movie: continuing to marginalize people with #foodallergies.So throw an allergen at someone? Iím coming for you.#BoycottPeterRabbit— ?? Jamie ?? (@jamiefid) February 10, 2018How can Sony Pictures release a film where food allergy bullying is acceptable? I guess the film industry wonít understand how wrong this is till theyíre covered in hives and struggling to breathe. #boycottpeterrabbit— Julia B (@PartyVIP101) February 11, 2018Someone I love has a food allergy. itís not fun, itís terrifying especially when they are children. @SonyPictures makes a kids movie and a character is attacked with food he is allergic to and causes anaphylaxis #boycottpeterrabbit #BoycottPeterRabbitMovie— chely (@chelybelly02) February 11, 2018I think everyone needs to let @SonyPictures know that bullying someone with a food they are deathly allergic to is not funny in any way. Real families deal with the fear of this happening to a family member every day. #shame #boycottpeterrabbit #foodallergiesarenotfunny— Quakes-JD (@JDMcCall1) February 12, 2018Kenneth Mendez, the president and CEO of the Asthma and Allergy Foundation of America, wrote an open letter to the studio Saturday asking for the opportunity to educate the company and the filmís cast on the realities of food allergies and urged the studio to "examine your portrayal of bullying in your films geared toward a young audience." The studio and filmmakers say that they, "Sincerely regret not being more aware and sensitive to this issue, and we truly apologize."