# Map not loading

**URL:** <https://phaser.discourse.group/t/map-not-loading/10948>\
**Category:** Phaser 3\
**Created:** [January 1, 2022, 3:26pm UTC](https://phaser.discourse.group/t/map-not-loading/10948 "2022-01-01T15:26:12Z")\
**Posts on this page:** 1\
**Page:** 2

<div class="post-metadata">

**Author:** ![Shutt90](https://yyz2.discourse-cdn.com/free1/user_avatar/phaser.discourse.group/shutt90/32/5286_2.png) [@Shutt90](https://phaser.discourse.group/u/Shutt90)\
**Post date:** [January 4, 2022, 10:12pm UTC](https://phaser.discourse.group/t/map-not-loading/10948/21 "2022-01-04T22:12:24Z")

</div>

I found the issue to my problem was that when I was creating the layer, I wasn’t adding in the tileset variable as the second argument but passing in a key to the map by mistake. Hopefully this will save someone else a few days 😃

[Previous page](https://phaser.discourse.group/t/map-not-loading/10948.md?page=1)
