Intermittent "OIDC discovery endpoint communication error" when using JWT Authorizer with AWS HTTP API

Hi,

I am having an intermittent error when using Auth0 with an AWS HTTP API. I have a JWT Authorizer on each of the endpoints for my API, with different Authorization scopes for each. I’m getting a frustrating error in the single-page application, intermittent 401 errors. The
The www-authenticate response header provides some clues, but not much.

Bearer scope=“manage:users modules:*” error=“invalid_token” error_description=“OIDC discovery endpoint communication error”

I can’t seem to find a pattern for why the error is occurring sometimes and not other times.

Any help would be very much appreciated!