If you’re trying the second command with the same builddir as in the builder command then the error is correct:
It’s not a builddir but the result dir of the application (containing the install destination of your apllication & some metadata).
Put anything you want to create at build time into the manifest, e.g. build-commands or post-install, see Flatpak Builder Command Reference - Flatpak documentation