Error: "The default profile must be defined"
Cause
You defined a QoS policy without defining its default profile. Every policy must have a defined default profile.
The system uses the default profile to process packets that don't get classified by the second stage of classification.
You will trigger this error where you do not define a command like this:
set policy qos name <policy-name> shaper default <profile-name>