# Python -\> auth0 from a k8s pod fails: how to diagnose and fix?

**URL:** <https://community.auth0.com/t/python-auth0-from-a-k8s-pod-fails-how-to-diagnose-and-fix/89693>\
**Category:** Get Help\
**Tags:** python, auth0\
**Created:** [August 30, 2022, 3:48pm UTC](https://community.auth0.com/t/python-auth0-from-a-k8s-pod-fails-how-to-diagnose-and-fix/89693 "2022-08-30T15:48:43Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [August 31, 2022, 10:01pm UTC](https://community.auth0.com/t/python-auth0-from-a-k8s-pod-fails-how-to-diagnose-and-fix/89693/3 "2022-08-31T22:01:39Z")

</div>

Hi @william.moran,

This post goes over some of the reasons you might be seeing a 403 Forbidden.

> [@"403: Forbidden" returned by /oauth/token](https://community.auth0.com/t/403-forbidden-returned-by-oauth-token/75568/6):
>
> Hi @skot, Thank you for sending over the HAR file. After inspecting your HAR file closely, I found that it did not capture the events leading up to the request to /oauth/token where you observed the 403 Forbidden error. Generally, the 403 Forbidden error happens when the authorization code passed in the request is invalid, revoked, or expired. This is detailed in the [RFC 6749 - The OAuth 2.0 Authorization Framework](https://datatracker.ietf.org/doc/html/rfc6749#section-5.2) specification. Looking further, I found that you also received an “access\_den…

If this doesn’t help to solve it, can you please provide an example of the outgoing request and response you are seeing? Sometimes there is more information with the response that could help to debug.

---

_[View the full topic](https://community.auth0.com/t/python-auth0-from-a-k8s-pod-fails-how-to-diagnose-and-fix/89693)._
