I've gotten my application to work using the duplicate course function instead of create course. But it's still an interesting problem and possibly a bug.
Manual enrollment plugin instance doesn't exist or is disabled for the course
This discussion has been locked because a year has elapsed since the last post. Please start a new discussion topic.