You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

APEX Service – Persistent 502 Bad Gateway / OAuth2 Token Exchange Error – São Paulo Region

edited Nov 17, 2026 3:04PM in Autonomous Database

Hello,

I recently provisioned an always free-tier Oracle APEX Service instance in the São Paulo region (sa-saopaulo-1).

I am unable to access either APEX Builder or Administration Services.

After entering the ADMIN credentials and clicking Sign In, I receive a 502 Bad Gateway error.

The authentication process also displays:

Failed to exchange auth code for tokens

Troubleshooting performed:

  • SQL Developer Web works correctly.
  • Tested using an incognito browser window.
  • Tested both /ords/apex and /ords/apex_admin.
  • Restarted the APEX instance.
  • The issue persists after more than 24 hours.

APEX version: 26.1.6

ORDS version: 26.3.1.303.1615

Database version: 26ai

No workspace has been created yet, as I cannot access APEX Administration Services.

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!