# Metadata Update or Reset

If you encountered the **error** "Bad Input data. Failed to decode extensions. Please try updating the Metadata for Kusama/Polkadot network" while interacting with the Polkadot Network, it may be due to a runtime upgrade in Polkadot{.js} UI.

This tutorial will show you how to resolve the metadata on Keystone, a hardware wallet integration with Polkadot{.js} and SubWallet.

## Update Metadata on Keystone <a href="#iljalkqns6yc" id="iljalkqns6yc"></a>

If you need to update the metadata for the Polkadot network using Keystone, follow these simple steps:

1. Click on the provided link to access the [Metadata Portal](https://metadata.parity.io/#/polkadot) for Keystone. Switch \[Chain Specs] to \[Metadata] to access a dynamic QR code.
2. Tap the \[-] icon to activate the camera with your Keystone device.
3. Scan the QR code on the Metadata Portal and tap \[Approve].

{% hint style="info" %}
Note:&#x20;

If you need to update the metadata for the **Kusama** network, click on \[Kusama] on the Metadata Portal and follow the same steps.
{% endhint %}

<figure><img src="/files/X3bGPsneTrPfGrmHdm3u" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/aeYoS1G5tCOt2LXYYtgL" alt=""><figcaption></figcaption></figure>

## Reset Metadata <a href="#s64liedyplfq" id="s64liedyplfq"></a>

If you need to reset the metadata for either Polkadot or Kusama network, follow these steps:

1. Ensure you have added the \[DOT] or \[KSM] by tapping the three dots on the right to access \[Manage Assets], and then tapping \[DOT] or \[KSM].
2. Tap the three dots in the right corner.
3. Tap \[Reset Data], read the warning, and tap \[Confirm].

<figure><img src="/files/jxohSx6XZ6a66wTctnPL" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://support.keyst.one/3rd-party-wallets/polkadot-wallets/metadata-update-or-reset.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
