Troubleshooting trade clearing via `data remove`
I have the command
data remove entity @e[limit=1,type=minecraft:wandering_trader,sort=arbitrary] Offers.Recipesto completely wipe the trades of a wandering trader. When I run it in-game it works, but when I try to save it as a function it fails. MC version 1.16. Logs below.java.util.concurrent.CompletionException: java.lang.IllegalArgumentException: Whilst parsing command on line 1: Incorrect argument for command at position 93: ...s.Recipes <--[HERE] at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:273) at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:280) at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1584) at java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1574) at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289) at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056) at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1689) at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157) Caused by: java.lang.IllegalArgumentException: Whilst parsing command on line 1: Incorrect argument for command at position 93: ...s.Recipes <--[HERE] at cy.a(SourceFile:62) at vw.a(SourceFile:86) at vw$$Lambda$3874/600427653.get(Unknown Source) at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1582) ... 5 more```