# Failed to authenticate request error with II and local canister request

**URL:** <https://forum.dfinity.org/t/failed-to-authenticate-request-error-with-ii-and-local-canister-request/6131>\
**Category:** Developers\
**Created:** [July 26, 2021, 11:47pm UTC](https://forum.dfinity.org/t/failed-to-authenticate-request-error-with-ii-and-local-canister-request/6131 "2021-07-26T23:47:14Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ehsan6sha](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/ehsan6sha/32/2460_2.png) [@ehsan6sha](https://forum.dfinity.org/u/ehsan6sha)\
**Post date:** [July 26, 2021, 11:47pm UTC](https://forum.dfinity.org/t/failed-to-authenticate-request-error-with-ii-and-local-canister-request/6131/1 "2021-07-26T23:47:14Z")

</div>

Hi

I received this message when I was sending a query to a local canister after authenticating and getting Identity from Inter net Identity. I read that it is due to not having II and canister both running locally? or is it something else?  
If this is right, is there a way to be able to use II and send local requests?

```auto
Failed to authenticate request 0x30fa2ff5c4e61c82cddbd6b7ce54348f5c08a2bbc28f877c84c1dfe80a4d7bfb due to: Invalid delegation: Invalid canister signature: IcCanisterSignature signature could not be verified:

```

---

<div class="post-metadata">

**Author:** ![anon74414410](https://avatars.discourse-cdn.com/v4/letter/a/85f322/32.png) [@anon74414410](https://forum.dfinity.org/u/anon74414410)\
**Post date:** [July 27, 2021, 12:04am UTC](https://forum.dfinity.org/t/failed-to-authenticate-request-error-with-ii-and-local-canister-request/6131/2 "2021-07-27T00:04:58Z")

</div>

You have to run II locally. The local replica does not currently know how to accept signatures from mainnet

---

<div class="post-metadata">

**Author:** ![e274426380](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/e274426380/32/2555_2.png) [@e274426380](https://forum.dfinity.org/u/e274426380)\
**Post date:** [August 25, 2021, 9:21am UTC](https://forum.dfinity.org/t/failed-to-authenticate-request-error-with-ii-and-local-canister-request/6131/3 "2021-08-25T09:21:01Z")

</div>

when I use II create a local account in local,its also show:  
403，Failed to authenticate request.  
How to deal?
