# NEW to FLOW - Unable to Create a Flow Account

**URL:** https://forum.flow.com/t/new-to-flow-unable-to-create-a-flow-account/1222
**Category:** New To Flow
**Created:** [March 7, 2021, 7:03pm UTC](https://forum.flow.com/t/new-to-flow-unable-to-create-a-flow-account/1222 "2021-03-07T19:03:15Z")
**Posts on this page:** 13
**Page:** 1

<div class="post-metadata">

### Author: ![eho2k21](https://avatars.discourse-cdn.com/v4/letter/e/8baadc/32.png) [@eho2k21](https://forum.flow.com/u/eho2k21)
#### Post date: [March 7, 2021, 7:03pm UTC](https://forum.flow.com/t/new-to-flow-unable-to-create-a-flow-account/1222/1 "2021-03-07T19:03:15Z")

</div>

Hi,

I’m new to Flow and trying to follow instructions below to create a new Flow Account on TestNet:

> **[Create an Account with the Flow CLI](https://docs.onflow.org/flow-cli/create-accounts/)**
>
> How to create a Flow account from the command line

I ran the following command:

flow accounts create   
–key d0f36b587232aa9670c4a671ac5da0726ac14db7e3b89f0367236d8e78753e3803341927a361c94a06829ec40f6ba3f47f3ec74eea5be4f2989ba37db106f0f3   
–sig-algo ECDSA\_secp256k1   
–hash-algo SHA3\_256   
–host [access.testnet.nodes.onflow.org:9000](http://access.testnet.nodes.onflow.org:9000)   
–signer my-testnet-account   
–results

where  
Address (created from Faucet) : ccefefbdc1d81de0  
Public Key: 72f9de5e0056d2c4b83d10a302e7ff799547ff721cd3a6737c8893fd39901621ce304d6c23789ae9a7b75d0cba2ae10bf453f3194bdea43883b4f361546fbcbd  
Private Key: c4604e5d29201a44ad107191c08c9f2ce7ee3266a1a306760212e313c7476219

Following Error is received:

Status: SEALED  
Execution Error: Execution failed:  
error: cannot decode runtime public account key: input is not a valid ECDSA\_secp256k1 key  
 → 3308ae867cfa7cfb451049ac14ebcb87901049e17f808ad14df08c7d6fcf5cda:7:3  
|  
7 | acct.addPublicKey(key.decodeHex())  
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Code:

transaction(publicKeys: [String], contracts: {String: String}) {  
prepare(signer: AuthAccount) {  
let acct = AuthAccount(payer: signer)

```
	for key in publicKeys {
		acct.addPublicKey(key.decodeHex())
	}

	for contract in contracts.keys {
		acct.contracts.add(name: contract, code: contracts[contract]!.decodeHex())
	}
}

```

}

Events:  
None

Any help / tips would be greatly appreciated, thx !

---

<div class="post-metadata">

### Author: ![unlocked](https://avatars.discourse-cdn.com/v4/letter/u/3be4f8/32.png) [@unlocked](https://forum.flow.com/u/unlocked)
#### Post date: [March 8, 2021, 1:01am UTC](https://forum.flow.com/t/new-to-flow-unable-to-create-a-flow-account/1222/2 "2021-03-08T01:01:24Z")

</div>

EDIT: I see, you mentioned about Faucet account already “_Address (created from Faucet) : ccefefbdc1d81de0_”

If you are trying to create accounts on Testnet, you might need to require account creation permission via the Faucet. It is simply a one-time request [https://testnet-faucet.onflow.org/](https://testnet-faucet.onflow.org/)

> **[Testnet Deployment Guidelines](https://docs.onflow.org/dapp-deployment/testnet-deployment#creating-an-account)**
>
> Start Building in the Open

---

<div class="post-metadata">

### Author: ![eho2k21](https://avatars.discourse-cdn.com/v4/letter/e/8baadc/32.png) [@eho2k21](https://forum.flow.com/u/eho2k21)
#### Post date: [March 8, 2021, 1:21am UTC](https://forum.flow.com/t/new-to-flow-unable-to-create-a-flow-account/1222/3 "2021-03-08T01:21:55Z")

</div>

Hi,

_“If you are trying to create accounts on Testnet, you might need to require account creation permission via the Faucet. It is simply a one-time request [https://testnet-faucet.onflow.org/](https://testnet-faucet.onflow.org/)” —\>_

I I have already requested and obtained account creation permission.

I used the

Create Account Request Fulfilled

Request ID: 92f3b811-671f-4a5b-98e6-a5fb41ebd08b

Name: Ernie Ho

Email: [ernie.y.ho@gmail.com](mailto:ernie.y.ho@gmail.com)

Address: ccefefbdc1d81de0

 ![Screen Shot 2021-03-07 at 5.20.19 PM](https://us1.discourse-cdn.com/flex022/uploads/flow/original/1X/c3b019bbb4f91b93704cc5439722603d2b650211.jpeg)

---

<div class="post-metadata">

### Author: ![pete](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.flow.com/pete/32/191_2.png) [@pete](https://forum.flow.com/u/pete)
#### Post date: [March 8, 2021, 4:13am UTC](https://forum.flow.com/t/new-to-flow-unable-to-create-a-flow-account/1222/4 "2021-03-08T04:13:22Z")

</div>

> [@eho2k21](#):
>
> d0f36b587232aa9670c4a671ac5da0726ac14db7e3b89f0367236d8e78753e3803341927a361c94a06829ec40f6ba3f47f3ec74eea5be4f2989ba37db106f0f3

Hey @eho2k21, how are you generating the public key?

The error you’re seeing occurs because the public key you have passed is either in the wrong format or is not on the `ECDSA_secp256k1` curve.

Keep in mind that `flow keys generate` generates a `ECDSA_P256` key by default.

You can do this to get secp256k1:

```auto
flow keys generate --algo ECDSA_secp256k1

```

---

<div class="post-metadata">

### Author: ![eho2k21](https://avatars.discourse-cdn.com/v4/letter/e/8baadc/32.png) [@eho2k21](https://forum.flow.com/u/eho2k21)
#### Post date: [March 8, 2021, 5:26pm UTC](https://forum.flow.com/t/new-to-flow-unable-to-create-a-flow-account/1222/5 "2021-03-08T17:26:19Z")

</div>

Hi Pete,

Thank you very much and this had to be the root cause of the issue.  
However, after re-generating keys with the ECDSA\_secp256k1 option and re-ran the Create Account command,

I now get a different error:

Status: SEALED  
Execution Error: invalid signature: signature could not be verified using public key with index 0 on account ccefefbdc1d81de0

----\>. Does this mean I’d need a NEW Faucet Test account to go with the new pair of keys ?

Thank you,

Ernie

---

<div class="post-metadata">

### Author: ![pete](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.flow.com/pete/32/191_2.png) [@pete](https://forum.flow.com/u/pete)
#### Post date: [March 9, 2021, 6:10am UTC](https://forum.flow.com/t/new-to-flow-unable-to-create-a-flow-account/1222/6 "2021-03-09T06:10:43Z")

</div>

> Does this mean I’d need a NEW Faucet Test account to go with the new pair of keys ?

No, you should be able to use the same Testnet account.

You’ll need to make sure you’re signing with the same key pair that you used to create the faucet account (`my-testnet-account`). If you don’t have the private key anymore, you’ll need to create a new faucet account.

---

<div class="post-metadata">

### Author: ![eho2k21](https://avatars.discourse-cdn.com/v4/letter/e/8baadc/32.png) [@eho2k21](https://forum.flow.com/u/eho2k21)
#### Post date: [March 9, 2021, 4:36pm UTC](https://forum.flow.com/t/new-to-flow-unable-to-create-a-flow-account/1222/7 "2021-03-09T16:36:21Z")

</div>

“You’ll need to make sure you’re signing with the same key pair that you used to create the faucet account (my-testnet-account). If you don’t have the private key anymore, you’ll need to create a new faucet account.” ------\> precisely what I expected, thank you very much for confirmation

---

<div class="post-metadata">

### Author: ![Lsy](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.flow.com/lsy/32/196_2.png) [@Lsy](https://forum.flow.com/u/Lsy)
#### Post date: [March 11, 2021, 2:52am UTC](https://forum.flow.com/t/new-to-flow-unable-to-create-a-flow-account/1222/8 "2021-03-11T02:52:38Z")

</div>

Hi @pete I have a question. Can I only create a test account through the official faucet?Is it possible to create available test accounts through programs such as JS or Go?

---

<div class="post-metadata">

### Author: ![pete](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.flow.com/pete/32/191_2.png) [@pete](https://forum.flow.com/u/pete)
#### Post date: [March 12, 2021, 8:54am UTC](https://forum.flow.com/t/new-to-flow-unable-to-create-a-flow-account/1222/9 "2021-03-12T08:54:00Z")

</div>

I really hope we can get there.

I want to start with the CLI at least. I put some thoughts on that here: [Testnet faucet integration · Issue #37 · onflow/flow-cli · GitHub](https://github.com/onflow/flow-cli/issues/37)

---

<div class="post-metadata">

### Author: ![eho2k21](https://avatars.discourse-cdn.com/v4/letter/e/8baadc/32.png) [@eho2k21](https://forum.flow.com/u/eho2k21)
#### Post date: [March 12, 2021, 10:43pm UTC](https://forum.flow.com/t/new-to-flow-unable-to-create-a-flow-account/1222/10 "2021-03-12T22:43:51Z")

</div>

Hi,

"“You’ll need to make sure you’re signing with the same key pair that you used to create the faucet account (my-testnet-account). If you don’t have the private key anymore, you’ll need to create a new faucet account.” —\>. Since we are on the topic of test account creation thru Faucet, I have not received confirmation from Faucet after one week since request.

Is there something wrong with Faucet ?

---

<div class="post-metadata">

### Author: ![eho2k21](https://avatars.discourse-cdn.com/v4/letter/e/8baadc/32.png) [@eho2k21](https://forum.flow.com/u/eho2k21)
#### Post date: [March 31, 2021, 6:40am UTC](https://forum.flow.com/t/new-to-flow-unable-to-create-a-flow-account/1222/11 "2021-03-31T06:40:47Z")

</div>

Hi,

Is there a limit on the # of Faucet accounts that can be created ?  
Sent request in early March 2021, and had not heard from Faucet since then.

Thx!

---

<div class="post-metadata">

### Author: ![Lsy](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.flow.com/lsy/32/196_2.png) [@Lsy](https://forum.flow.com/u/Lsy)
#### Post date: [April 2, 2021, 1:16am UTC](https://forum.flow.com/t/new-to-flow-unable-to-create-a-flow-account/1222/12 "2021-04-02T01:16:58Z")

</div>

you can try it by this : [https://testnet-faucet-v2.onflow.org/](https://testnet-faucet-v2.onflow.org/)

---

<div class="post-metadata">

### Author: ![eho2k21](https://avatars.discourse-cdn.com/v4/letter/e/8baadc/32.png) [@eho2k21](https://forum.flow.com/u/eho2k21)
#### Post date: [April 7, 2021, 4:20pm UTC](https://forum.flow.com/t/new-to-flow-unable-to-create-a-flow-account/1222/13 "2021-04-07T16:20:16Z")

</div>

> [@eho2k21](#):
>
> [https://testnet-faucet.onflow.org/](https://testnet-faucet.onflow.org/)

Hi,

I’m trying to create a new TestNet Faucet account on

[https://testnet-faucet.onflow.org/](https://testnet-faucet.onflow.org/)

Currently after inputting a valid Public Key and click “Create Account”, the page shows a progress bar and stops responding. Is this behavior normal?

I tried on both Safari and Chorme and same behavior persisted.

I was able to create a Testnet Account previously and the expected behavior is to redirect to a page showing “Request Fullied” with the TestNet Account Address showing.
