# FCL - Authenticate with dev wallet

**URL:** <https://forum.flow.com/t/fcl-authenticate-with-dev-wallet/523>\
**Category:** Flow JavaScript SDK\
**Tags:** flow-sdk-js\
**Created:** [July 30, 2020, 7:35am UTC](https://forum.flow.com/t/fcl-authenticate-with-dev-wallet/523 "2020-07-30T07:35:17Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![robinbonnin](https://avatars.discourse-cdn.com/v4/letter/r/b487fb/32.png) [@robinbonnin](https://forum.flow.com/u/robinbonnin)\
**Post date:** [July 30, 2020, 7:35am UTC](https://forum.flow.com/t/fcl-authenticate-with-dev-wallet/523/1 "2020-07-30T07:35:17Z")

</div>

Hello there !

I followed the quickstart to launch a web app with Flow here :

> <https://github.com/onflow/fcl-js/tree/master/packages/fcl#flow-app-quickstart>
>
> //github.com/onflow/fcl-js/tree/master/packages/fcl

The only thing I did differently was to start the blockchain from another folder which contains the Marketplace tutorial code. (which seemed to be a good idea, as in the real world you might connect your app to existing smart contracts)

However I ran in this error :  
 ![image](https://us1.discourse-cdn.com/flex022/uploads/flow/original/1X/d3cd00bc8052276fe3c4211be3bfad7cfcceaa72.png)  
**unknown method GetAccountAtLatestBlock for service access.AccessAPI**

I found a reference here : [Discord](https://discordapp.com/channels/613813861610684416/729538668896714812/736222794215587880) where it is said that we need to update the emulator, but my emulator should be up to date (v0.4.1).  
Since the wallet needs a flow.json file, I added the chains service account after doing **flow init**

Lastly, I have also tried with following exactly the tutorial from the beginning without any success.  
I also tried running with the VS extension or not, but without any success.

I don’t really know where the issue can come from. 😕

I am going to follow exactly Max’s presentation to see if it works better.  
EDIT : after following Max’s youtube video (I just did not use docker), I still have the same issue.

But I would appreciate any information  
NB: I also tried doing an angular app but the fcl package seems to be creating issues with the http module. Any information on that ?

---

<div class="post-metadata">

**Author:** ![MaxStarka](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.flow.com/maxstarka/32/56_2.png) [@MaxStarka](https://forum.flow.com/u/MaxStarka)\
**Post date:** [July 30, 2020, 6:59pm UTC](https://forum.flow.com/t/fcl-authenticate-with-dev-wallet/523/2 "2020-07-30T18:59:57Z")

</div>

As I’ve mentioned on Discord, try to update emulator and libraries to latest version 🙂

---

<div class="post-metadata">

**Author:** ![robinbonnin](https://avatars.discourse-cdn.com/v4/letter/r/b487fb/32.png) [@robinbonnin](https://forum.flow.com/u/robinbonnin)\
**Post date:** [July 31, 2020, 3:41am UTC](https://forum.flow.com/t/fcl-authenticate-with-dev-wallet/523/3 "2020-07-31T03:41:26Z")

</div>

Thank you Max !

But I don’t know if it is related, but it seems that my VSCode extension does not work anymore. ☹  
I can’t deploy contracts because of a syntax error that I can’t fix :  
 ![image](https://us1.discourse-cdn.com/flex022/uploads/flow/original/1X/8a66ac47401598640b4ed8b2b911bd480d57139a.png)

I tried uninstalling and reinstalling the vscode extension but it does not seem to work. (I am in version 0.4.0)

---

<div class="post-metadata">

**Author:** ![robinbonnin](https://avatars.discourse-cdn.com/v4/letter/r/b487fb/32.png) [@robinbonnin](https://forum.flow.com/u/robinbonnin)\
**Post date:** [July 31, 2020, 3:48pm UTC](https://forum.flow.com/t/fcl-authenticate-with-dev-wallet/523/4 "2020-07-31T15:48:29Z")

</div>

Thanks @MaxStarka for the solution.

If you ever come accross the error :  
**unrecognized character: U+000D**

Try this change :

- Click in the bottom right of the corner on CRLF
- Change it to LF
- All is well !

 ![image](https://us1.discourse-cdn.com/flex022/uploads/flow/original/1X/04cb44ec052a29ef50cdf7407921649b63af3cc9.png)

---

<div class="post-metadata">

**Author:** ![kayherv](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.flow.com/kayherv/32/35_2.png) [@kayherv](https://forum.flow.com/u/kayherv)\
**Post date:** [August 3, 2020, 12:51am UTC](https://forum.flow.com/t/fcl-authenticate-with-dev-wallet/523/5 "2020-08-03T00:51:47Z")

</div>

Worked for me as well.Thanks
