# Null channel Id when channel was added manually

**URL:** <https://forum.litium.com/t/null-channel-id-when-channel-was-added-manually/1956>\
**Category:** Questions\
**Created:** [March 24, 2021, 11:40am UTC](https://forum.litium.com/t/null-channel-id-when-channel-was-added-manually/1956 "2021-03-24T11:40:26Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jaepi](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.litium.com/jaepi/32/605_2.png) [@jaepi](https://forum.litium.com/u/jaepi)\
**Post date:** [March 24, 2021, 11:40am UTC](https://forum.litium.com/t/null-channel-id-when-channel-was-added-manually/1956/1 "2021-03-24T11:40:26Z")

</div>

Hi,

I’m fairly new to channels and Litium in general and I added a new channel manually using Litium settings

 ![image](https://canada1.discourse-cdn.com/flex030/uploads/litium/original/1X/af33d28d5f8ec438f642b9b30b9a3f67c862e4ce.png)

After adding, I published all pages to the new channel.  
My problem now is that whenever I access the channel via ChannelService, the manually added channel’s Id is null. To be specific, here’s the screenshot.

 ![image](https://canada1.discourse-cdn.com/flex030/uploads/litium/original/1X/6b639a9b014d1a0563332b4c94540eaa65ecdd1f.jpeg)

Please advise.

Litium version: _7.6.1_

---

<div class="post-metadata">

**Author:** ![aram](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.litium.com/aram/32/19_2.png) [@aram](https://forum.litium.com/u/aram)\
**Post date:** [March 24, 2021, 11:54am UTC](https://forum.litium.com/t/null-channel-id-when-channel-was-added-manually/1956/2 "2021-03-24T11:54:36Z")

</div>

That is per design. Kind of general pattern for most of the entities in Litium. What you set in BO when creating a channel is the name (Localizations) of the channel not the ID. You can set it in the DB tho. Or create it programmatically (through code).

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex030/uploads/litium/original/1X/12eddac3b8b661de1db86af10ac8151b571e6fb9.png) [@system](https://forum.litium.com/u/system)\
**Post date:** [April 21, 2021, 11:54am UTC](https://forum.litium.com/t/null-channel-id-when-channel-was-added-manually/1956/3 "2021-04-21T11:54:56Z")

</div>

Closed on April 21, 2021, 11:54am UTC

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
