user132358: I created a transaction that creates a taproot output that can be spent using the private key (KEY) corresponding to the taproot output key. Then I imported the WIF formatted private key into Bitcoin Core with importdescriptors '[{"desc: rawtr(KEY), "timestamp":"now" ..."}]', which was successful. With listdescriptors I can see that it is in the wallet but with listunspent the taproot output does not show up.
How can I tell the wallet to recognize the taproot output as spendable?
I've also tried setting the descriptor to active but then it tells me only ranged descriptors can be active and I'm unsure how to add a range to a rawtr(KEY) descriptor.

user132358: The problem was that the wallet couldn't recognize the utxo with listunspent because I put the wrong private key into the descriptor. rawtr(KEY) takes a tweaked private key and I accidentally put the untweaked private key into it. After I corrected the wallet was able to recognize and spend the utxo.

132358: <p>I created a <a href="https://mempool.space/signet/tx/26651571eb31f9ea4f400615bd5fb834a2b0aa120a03074eac889651ffefbd0d" rel="nofollow noreferrer">transaction</a> that creates a taproot output that can be spent using the private key (<code>KEY</code>) corresponding to the taproot output key. Then I imported the WIF formatted private key into Bitcoin Core with <code>importdescriptors '[{&quot;desc: rawtr(KEY), &quot;timestamp&quot;:&quot;now&quot; ...&quot;}]'</code>, which was successful. With <code>listdescriptors</code> I can see that it is in the wallet but with <code>listunspent</code> the taproot output does not show up.</p>
<p>How can I tell the wallet to recognize the taproot output as spendable?</p>
<p>I've also tried setting the descriptor to active but then it tells me only ranged descriptors can be active and I'm unsure how to add a range to a <code>rawtr(KEY)</code> descriptor.</p>
 132358: <p>The problem was that the wallet couldn't recognize the utxo with <code>listunspent</code> because I put the wrong private key into the descriptor. <code>rawtr(KEY)</code> takes a <em>tweaked</em> private key and I accidentally put the <em>untweaked</em> private key into it. After I corrected the wallet was able to recognize and spend the utxo.</p>
