Flight plan mission with Anafi 4K using ground sdk

I used the [sample flight plan app in Parrot Github page](github /groundsdk-android-samples/tree/master/FlightPlan) with Parrot ANAFI 4K. In the UI it keeps saying MISSING_FLIGHT_PLAN_FILE. [I added logs and even modified file upload](github Chamud/groundsdk-android-samples/blob/test/FlightPlan/app/src/main/java/com/parrot/drone/groundsdk/sample/flightplan/MainActivity.kt) mechanism but still I keep getting the same error. From the legs I figured that file upload fails. I can’t understand why. Please help! I wanna get this flying soon for school project but I can’t figure out why it doesnt upload the mavlink file.