# TypeError / Canister not found

**URL:** <https://forum.dfinity.org/t/typeerror-canister-not-found/588>\
**Category:** Command Line Tools\
**Created:** [April 8, 2020, 6:10pm UTC](https://forum.dfinity.org/t/typeerror-canister-not-found/588 "2020-04-08T18:10:19Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![cryptoschindler](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/cryptoschindler/32/26_2.png) [@cryptoschindler](https://forum.dfinity.org/u/cryptoschindler)\
**Post date:** [April 8, 2020, 6:10pm UTC](https://forum.dfinity.org/t/typeerror-canister-not-found/588/1 "2020-04-08T18:10:19Z")

</div>

After upgrading to 0.5.5 from 0.5.4 I got this error when trying to access the canister frontend from a project I created with the former version and wanted to update. I already deleted .dfx/state in the project direcotry and reinstalled dfx.

```auto
An error happened:
TypeError: e.Service is not a function at t.default (data:text/javascript;base64,LyohIEZvciBsaWNlbnNlIGluZm9ybWF0aW9uIHBsZWFzZSBzZWUgaW5kZXguanMuTElDRU5TRSAqLwohZnVuY3Rpb24oZSl7dmFyIHQ9e307ZnVuY3Rpb24gbihyKXtpZih0W3JdKXJldHVybiB0W3JdLmV4cG9ydHM7dmFyIGw9dFtyXT17aTpyLGw6ITEsZXhwb3J0czp ...

```

Additionally the local replica threw the following error:

```auto
Apr 05 23:02:29.381 WARN Could not perform query on canister: IC0301: Canister ic:B5008CEB5C40C41D42 not found, Application: Http Handler

```

Thanks to our beautiful [support](mailto:support@dfinity.org) the following **solution** emerged:

> What happens is that the bootstrap server JavaScript (which is cached) was changed between 0.5.4 and 0.5.5. They need to refresh the cache of their browser, and the error should go away.

---

<div class="post-metadata">

**Author:** ![saurav-iiitg](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/saurav-iiitg/32/7377_2.png) [@saurav-iiitg](https://forum.dfinity.org/u/saurav-iiitg)\
**Post date:** [October 7, 2022, 12:43pm UTC](https://forum.dfinity.org/t/typeerror-canister-not-found/588/2 "2022-10-07T12:43:03Z")

</div>

Is this resolved now ? I am also facing the similar issue .
