# Create Tweet returns error (401) Unauthorized

**URL:** <https://community.postman.com/t/create-tweet-returns-error-401-unauthorized/39034>\
**Category:** Help Hub\
**Tags:** twitter\
**Created:** [September 11, 2022, 7:57pm UTC](https://community.postman.com/t/create-tweet-returns-error-401-unauthorized/39034 "2022-09-11T19:57:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![litemesa](https://avatars.discourse-cdn.com/v4/letter/l/e9bcb4/32.png) [@litemesa](https://community.postman.com/u/litemesa)\
**Post date:** [September 11, 2022, 7:57pm UTC](https://community.postman.com/t/create-tweet-returns-error-401-unauthorized/39034/1 "2022-09-11T19:57:55Z")

</div>

Hi, I’m trying to Create test Tweet with Postman Twitter Collection.  
I setup new App with Development ENVIRONMENT to test this feature.  
I setup all keys and add them to Postman’s Twitter Collections which described in this article ([Twitter API Authorization](https://community.postman.com/t/twitter-api-authorization/9512))

My app setup:  
[![](https://aws1.discourse-cdn.com/twitter/original/3X/6/0/606bf53b860dbed563a25efea49469f874acfad5.jpeg) ](https://aws1.discourse-cdn.com/twitter/original/3X/6/0/606bf53b860dbed563a25efea49469f874acfad5.jpeg)

My keys setup (related to Postman varibales):  
[![](https://aws1.discourse-cdn.com/twitter/original/3X/f/e/fe5067e73208f570587fc216f67ea4a856112f25.jpeg) ](https://aws1.discourse-cdn.com/twitter/original/3X/f/e/fe5067e73208f570587fc216f67ea4a856112f25.jpeg)

Now I can perform GET request with Auth1.0:  
[https://api.twitter.com/2/users/by?usernames=XXX](https://api.twitter.com/2/users/by?usernames=XXX) and get correct respond

The result is:  
{  
“data”: [  
{  
“id”: “XXX”,  
“name”: “XXX”,  
“username”: “XXX”  
}  
]  
}

But I cannot create new Tweets with POST request with Auth1.0:  
[https://api.twitter.com/2/tweets](https://api.twitter.com/2/tweets)

The result is  
{  
“title”: “Unauthorized”,  
“type”: “about:blank”,  
“status”: 401,  
“detail”: “Unauthorized”  
}

What I missed, perhaps I need to do some extra setup of my Twitter App or Postman?

---

<div class="post-metadata">

**Author:** ![danny-dainton](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/danny-dainton/32/29401_2.png) [@danny-dainton](https://community.postman.com/u/danny-dainton)\
**Post date:** [April 29, 2025, 3:46pm UTC](https://community.postman.com/t/create-tweet-returns-error-401-unauthorized/39034/2 "2025-04-29T15:46:35Z")

</div>

Closed on April 29, 2025, 3:46pm UTC


