Hi I had the same problem with my dryer and to my surprise the solution an easy fix. My dryer has been working great.
This worked for me
I cleaned all the vents thoroughly, if you are unable to clean inside where the vent screen is try this. remove lint screen, using tape or rubberband attach a empty paper towel roll to the end of your vacuum crevice tool. Also at the 99 cent store I purchased a appliance brush to loosen any lint inside before vacuuming. The brush works better then the one I purchased from Home Depot for $15.
Vacuum the inside of the
dryer, be sure to vacuum the very back inside and around the door.
This is the tricky part now.
The dryer flex hose actually has to be set just right. If the placement is incorrect you will get the error codes, dryer turns off after mins etc.
Another solution that may work:
The E:01 is a code that is generated when the sensor near the lint filter gets too hot. This is usually caused by bad air flow.
Try running the unit without the vent hose attached. If the problem goes away the problem is in the ducting. You may need to have it cleaned out. I've also seen this if the lint filter is clogged due to the use of dryer sheets or fabric softener. You can try to clean the filter with Windex if this is a possibility.
If neither one of this suggestions resolves the issue there may be a problem with the sensor, Bosch part number 154166, or there may be heat escaping somewhere within the dryer.