Skip to content
This repository has been archived by the owner on Jan 26, 2022. It is now read-only.

Troubleshooting vue api

Viki Val edited this page Mar 19, 2020 · 1 revision

Unable to create API instance

This error is mainly caused by outdated keyring in your app, please update @polkadot/api and @polkadot/keyring in packages.

Error example

API/INIT:
Error: "FATAL: Unable to initialize the API: createType(StorageKey):: expected TypedArray of at least length 4, but constructor returned TypedArray of length 0"
Clone this wiki locally