# Oauth2 Token - 404 Page not found

**URL:** <https://discuss.dev.twitch.com/t/oauth2-token-404-page-not-found/15749>\
**Category:** API\
**Created:** [May 12, 2018, 12:33pm UTC](https://discuss.dev.twitch.com/t/oauth2-token-404-page-not-found/15749 "2018-05-12T12:33:37Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Majestcx](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/majestcx/32/4427_2.png) [@Majestcx](https://discuss.dev.twitch.com/u/Majestcx)\
**Post date:** [May 12, 2018, 12:33pm UTC](https://discuss.dev.twitch.com/t/oauth2-token-404-page-not-found/15749/1 "2018-05-12T12:33:37Z")

</div>

“[https://id.twitch.tv/oauth2/token](https://id.twitch.tv/oauth2/token)” returns “404 page not found”.  
(Server-to-Server authorization)

---

<div class="post-metadata">

**Author:** ![Dist](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/dist/32/7192_2.png) [@Dist](https://discuss.dev.twitch.com/u/Dist)\
**Post date:** [May 12, 2018, 12:36pm UTC](https://discuss.dev.twitch.com/t/oauth2-token-404-page-not-found/15749/2 "2018-05-12T12:36:44Z")

</div>

Are you sure you’re POST’ing to the url? A GET request will result in a 404.

---

<div class="post-metadata">

**Author:** ![AlbericoD](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/albericod/32/4325_2.png) [@AlbericoD](https://discuss.dev.twitch.com/u/AlbericoD)\
**Post date:** [May 13, 2018, 12:27pm UTC](https://discuss.dev.twitch.com/t/oauth2-token-404-page-not-found/15749/3 "2018-05-13T12:27:16Z")

</div>

> [@Majestcx](#):
>
> “[https://id.twitch.tv/oauth2/token](https://id.twitch.tv/oauth2/token)” returns “404 page not found”.  
> (Server-to-Server authorization)

Hi, do you use postman to test the endpoint?

It is a great tool to test api

**POST method**

 ![Captura de tela de 2018-05-13 09-24-07](https://d2opxh93rbxzdn.cloudfront.net/original/2X/9/9bfbaefda3d36a435a5f0ee4cf667c6a09d449bf.png)

**GET method**

 ![Captura de tela de 2018-05-13 09-26-48](https://d2opxh93rbxzdn.cloudfront.net/original/2X/1/19dd9004d5f7d2e63e4b43c6b6fbe566f7d90e88.png)

---

<div class="post-metadata">

**Author:** ![system](https://d2opxh93rbxzdn.cloudfront.net/original/2X/0/05909729875cce3b53e59d5561c4d23bb14948fc.png) [@system](https://discuss.dev.twitch.com/u/system)\
**Post date:** [June 12, 2018, 12:27pm UTC](https://discuss.dev.twitch.com/t/oauth2-token-404-page-not-found/15749/4 "2018-06-12T12:27:20Z")

</div>

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