User Enrollment: Purchase Method set to 1

When purchase method is being set to 1 for User Enrollment Install Application(Option Property), Apple is giving a response of "License Not Found". The app which is being downloaded is a free app from App Store which does not require licenses. Is there a mistake in the documentation?