This most likely means your app has "file type" permission, and the file type you picked doesn't include the extension of the file you're trying to write. You can check your app's permissions via the app console.
Work Smarter with Dropbox
The way we work is changing. Share and discover new ways to work smarter with Dropbox in our community.