<@U04S8PLJWMT> getting 500 internal server error o...
# ask-ai
c
@kapa.ai getting 500 internal server error on configuring oauth for airbyte cloud
k
Sorry you’re hitting 500s during OAuth setup. Based on recent reports, there are a few known causes and workarounds: - Transient platform/server issues: Several users saw 500s during connector add or OAuth calls due to backend/cache problems; restarting the server or retrying after fixes resolved it. If you’re self-managed, restart the airbyte-server; on Cloud, retry after some time. [[500 error fetching stubs](https://github.com/airbytehq/airbyte/issues/54058); [Internal Server Error stubs](https://github.com/airbytehq/airbyte/issues/53609)] - OAuth flow regressions: There’s an open issue where completing OAuth programmatically (or via API) returns 500 during source creation (deserialization of CompleteOAuthResponse). This is acknowledged and a platform fix was mentioned. If you’re creating sources via API with a secretId, this may be what you’re hitting. Workaround: authenticate via the UI, or wait for the platform fix. [[Sheets 500 CompleteOAuthResponse](https://github.com/airbytehq/airbyte/issues/58122)] - Connector-specific OAuth changes: Some connectors moved to managed OAuth and no longer expose manual token fields in OSS; UI re-auth generally works while programmatic/manual flows can error until updates roll out. [[Bing Ads OAuth/internalServerError](https://github.com/airbytehq/airbyte/issues/53651); [RD Station OAuth mapping error](https://github.com/airbytehq/airbyte/issues/52684)] General checks from docs: - Ensure the redirect URI exactly matches what Airbyte shows during setup. - Reauthorize if tokens may be expired. - For Self-Managed, verify Client ID/Secret; in Cloud, Airbyte-managed apps handle this for supported connectors. [[Using OAuth](https://docs.airbyte.com/platform/using-airbyte/oauth)] If you can share: - Which connector, how you’re authenticating (UI vs API), and any response snippet, I can map it to the closest known issue and suggest a precise workaround.
c
@kapa.ai -- employment hero connector, authenticating via UI, getting "OAuth login failed: An unexpected error occurred. Please report this if the issue persists. (HTTP 500)" error
k
A message from kapa.ai
Thanks for the details. From the available sources, there’s no connector-specific guidance or known fix for Employment Hero OAuth 500s on Airbyte Cloud. The Employment Hero source is described as a “manifest-only” connector that uses Bearer token auth, with instructions to obtain an access token manually (e.g., via Postman) rather than a turnkey OAuth flow in Airbyte. This suggests the connector may not support a managed OAuth flow in the UI today, which would explain the 500 during “Authenticate” in Cloud. [[Employment-Hero](https://docs.airbyte.com/integrations/sources/employment-hero)] What you can try now: - Bypass UI OAuth: Manually obtain an access token (Client ID/Secret → authorize → exchange for access_token) and configure the connector with the bearer token, as outlined in the connector doc. [[Employment-Hero](https://docs.airbyte.com/integrations/sources/employment-hero)] - If the UI forces OAuth and does not expose a token field in Cloud, this may be a platform limitation similar to other connectors that lack a default OAuth implementation and error at consent URL/flow. In such cases, filing a support ticket or issue with the connector name and Cloud workspace ID is recommended. [[RD Station issue](https://github.com/airbytehq/airbyte/issues/52684)] If you share a screenshot of the Employment Hero source form in Cloud (fields visible) and the requestId from the 500 error, I can better confirm whether the connector lacks a supported OAuth flow or if it’s a transient platform error.