If you restart a non pruned full node with -prune=550
(to enable pruning), while having a wallet which is not in sync (maybe you copied it), the node will first prune, than complain about a impossible rescan (see below).
IMO before pruning all old blocks, the node should firs try to sync the wallet.
0Prune: UnlinkPrunedFiles deleted blk/rev (00263)
1Prune: UnlinkPrunedFiles deleted blk/rev (00264)
2Prune: UnlinkPrunedFiles deleted blk/rev (00265)
3Prune: UnlinkPrunedFiles deleted blk/rev (00266)
4Prune: UnlinkPrunedFiles deleted blk/rev (00267)
5Prune: UnlinkPrunedFiles deleted blk/rev (00268)
6Prune: UnlinkPrunedFiles deleted blk/rev (00269)
7Prune: UnlinkPrunedFiles deleted blk/rev (00270)
8Prune: UnlinkPrunedFiles deleted blk/rev (00271)
9Prune: UnlinkPrunedFiles deleted blk/rev (00272)
10Prune: UnlinkPrunedFiles deleted blk/rev (00273)
11Prune: UnlinkPrunedFiles deleted blk/rev (00274)
12Prune: UnlinkPrunedFiles deleted blk/rev (00275)
13Prune: UnlinkPrunedFiles deleted blk/rev (00276)
14Prune: UnlinkPrunedFiles deleted blk/rev (00277)
15Prune: UnlinkPrunedFiles deleted blk/rev (00278)
16Prune: UnlinkPrunedFiles deleted blk/rev (00279)
17Prune: UnlinkPrunedFiles deleted blk/rev (00280)
18Prune: UnlinkPrunedFiles deleted blk/rev (00281)
19Prune: UnlinkPrunedFiles deleted blk/rev (00282)
20Prune: UnlinkPrunedFiles deleted blk/rev (00283)
21Prune: UnlinkPrunedFiles deleted blk/rev (00284)
22Prune: UnlinkPrunedFiles deleted blk/rev (00285)
23init message: Loading wallet...
24nFileVersion = 119900
25Keys: 102 plaintext, 0 encrypted, 102 w/ metadata, 102 total
26 wallet 772ms
27Error: Prune: last wallet synchronisation goes beyond pruned data. You need to -reindex (download the whole blockchain again in case of pruned node)
28Error: Prune: last wallet synchronisation goes beyond pruned data. You need to -reindex (download the whole blockchain again in case of pruned node)