A SmartThings routine that will use the official integration to Echo directly can only contain lights, switches, and thermostats. If, for example, it also has a lock, echo won’t be able to run it. That’s the error message that you are seeing.
Fortunately, there’s an easy way around this, which is what we used to do before routines were offered through the official integration.
You just create a virtual switch which runs that routine, and then you could have echo turn on that virtual switch.
There are step-by-step instructions for how to do this in the following FAQ (this is a clickable link)