# OAuth invalid\_client error on testing server but works locally

**URL:** <https://devforum.zoom.us/t/oauth-invalid-client-error-on-testing-server-but-works-locally/141699>\
**Category:** API and Webhooks\
**Tags:** api\
**Created:** [February 5, 2026, 10:58am UTC](https://devforum.zoom.us/t/oauth-invalid-client-error-on-testing-server-but-works-locally/141699 "2026-02-05T10:58:09Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Abdelmonem](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/abdelmonem/32/72408_2.png) [@Abdelmonem](https://devforum.zoom.us/u/Abdelmonem)\
**Post date:** [February 5, 2026, 10:58am UTC](https://devforum.zoom.us/t/oauth-invalid-client-error-on-testing-server-but-works-locally/141699/1 "2026-02-05T10:58:09Z")

</div>

## API Endpoint

POST [https://zoom.us/oauth/token](https://zoom.us/oauth/token)

* * *

## Description

I’m receiving an `invalid_client` error when requesting an OAuth access token **only on the testing server**.  
The **same codebase and credentials work correctly on localhost**.

The failure occurs during token generation, before creating any Zoom meeting.

* * *

## Error

```json
{
  "error": "invalid_client",
  "reason": "Invalid client_id or client_secret"
}

```

---

<div class="post-metadata">

**Author:** ![elisa.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/elisa.zoom/32/47836_2.png) [@elisa.zoom](https://devforum.zoom.us/u/elisa.zoom)\
**Post date:** [February 5, 2026, 3:08pm UTC](https://devforum.zoom.us/t/oauth-invalid-client-error-on-testing-server-but-works-locally/141699/2 "2026-02-05T15:08:44Z")

</div>

Hey @Abdelmonem  
Can you please share with me the entire request you are sending?
