# "raw private key is not valid"

**URL:** <https://forum.flow.com/t/raw-private-key-is-not-valid/1451>\
**Category:** 🏄🏻‍♀️ Cadence\
**Created:** [March 13, 2021, 1:01am UTC](https://forum.flow.com/t/raw-private-key-is-not-valid/1451 "2021-03-13T01:01:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![johnrobmiller](https://avatars.discourse-cdn.com/v4/letter/j/a4c791/32.png) [@johnrobmiller](https://forum.flow.com/u/johnrobmiller)\
**Post date:** [March 13, 2021, 1:01am UTC](https://forum.flow.com/t/raw-private-key-is-not-valid/1451/1 "2021-03-13T01:01:05Z")

</div>

I’m learning about Cadence and block-chain technology, which is fun and new for me, but I keep on running into this error when trying to do things with the Flow emulator in the Flow-CLI. Here are a few of the commands I’ve tried:

- flow project start-emulator
- flow project deploy
- flow scripts execute [script path]

I’ve tried using the private key generated using “flow keys generate”, “flow init”, and “flow emulator start”. Nothing has worked.

What am I doing wrong?

---

<div class="post-metadata">

**Author:** ![bruno](https://avatars.discourse-cdn.com/v4/letter/b/c77e96/32.png) [@bruno](https://forum.flow.com/u/bruno)\
**Post date:** [October 27, 2021, 9:19pm UTC](https://forum.flow.com/t/raw-private-key-is-not-valid/1451/2 "2021-10-27T21:19:09Z")

</div>

Hi @johnrobmiller, @bastian do you have any idea of what may be causing this?
