# Keep getting error when creating a message via API

**URL:** <https://community.sendbird.com/t/keep-getting-error-when-creating-a-message-via-api/553>\
**Category:** Sendbird Chat API/SDK\
**Tags:** group-channel, chatsdk\
**Created:** [June 30, 2020, 7:48pm UTC](https://community.sendbird.com/t/keep-getting-error-when-creating-a-message-via-api/553 "2020-06-30T19:48:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![AllenTCrane](https://avatars.discourse-cdn.com/v4/letter/a/9de053/32.png) [@AllenTCrane](https://community.sendbird.com/u/AllenTCrane)\
**Post date:** [June 30, 2020, 7:48pm UTC](https://community.sendbird.com/t/keep-getting-error-when-creating-a-message-via-api/553/1 "2020-06-30T19:48:24Z")

</div>

So today is my first day working with SendBird. I can create users and channels via the API but when I try to post a message I get the same error… I am using PostMan here is the URL I am using. I tookout the application Id

[Post]  
[https://api-XXX.sendbird.com/v3/group\_channel/ThisIsMyChannelUrl/messages](https://api-XXX.sendbird.com/v3/group_channel/ThisIsMyChannelUrl/messages)

request  
{  
“message\_type”: “MESG”,  
“user\_id”: “AllenCrane”,  
“message”: “This is Only a Message”  
}

response  
{  
“message”: “Platform API Error”,  
“code”: 400404,  
“error”: true  
}

---

<div class="post-metadata">

**Author:** ![alex.orr](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/alex.orr/32/148_2.png) [@alex.orr](https://community.sendbird.com/u/alex.orr)\
**Post date:** [June 30, 2020, 7:56pm UTC](https://community.sendbird.com/t/keep-getting-error-when-creating-a-message-via-api/553/2 "2020-06-30T19:56:35Z")

</div>

My guess is that this is because the url should have “group\_channels” plural instead of “group\_channel” singular.

If that doesn’t do the trick you could also make sure that “ThisIsMyChannel” corresponds to the channel url rather than channel name.

The error message is kind of vague so if neither of those do the trick, could you provide me with the request-id header from the response?

---

<div class="post-metadata">

**Author:** ![AllenTCrane](https://avatars.discourse-cdn.com/v4/letter/a/9de053/32.png) [@AllenTCrane](https://community.sendbird.com/u/AllenTCrane)\
**Post date:** [June 30, 2020, 8:04pm UTC](https://community.sendbird.com/t/keep-getting-error-when-creating-a-message-via-api/553/3 "2020-06-30T20:04:26Z")

</div>

Oy, that was a noob error for sure thanks for the help
