<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
GitHub Enterprise Push Group Error: "Invalid JSON: Unexpected character ('<' (code 60)): expected a valid value. 504 Gateway Time-out."
Okta Integration Network
Okta Classic Engine
Okta Identity Engine
Overview

GitHub Enterprise push group fails with the following error visible in the Okta dashboard:

Unable to update Group Push mapping target App group <appgroup>: Error while creating user group <usergroup>: Gateway Time-out. Errors reported by remote server: Invalid JSON: Unexpected character ('<' (code 60)): expected a valid value (JSON String, Number, Array, Object or token 'null', 'true' or 'false') at [Source: (String)"<html> <head><title>504 Gateway Time-out</title></head> <body> <center><h1>504 Gateway Time-out</h1></center> </body> </html>


Error 

Applies To
  • GitHub Enterprise
  • Provisioning
  • Group Push
  • Error
Cause

This error appears when the account that was used to enable the provisioning integration in Okta:

  • The account is no longer active.
  • The credentials used for creating the API connection are invalid.
  • The authentication token is invalid.
  • Permissions of the account are incorrect within GitHub.
Solution
  1. On the GitHub side, verify the permissions and status of the account used to create the API connection.
  2. Go to Okta Admin Console and navigate to Applications > Applications > GitHub Enterprise Cloud - Organization > Provisioning > Integration > click the Edit button.
  3. Click Authenticate with GitHub Enterprise Cloud - Organization to generate a token.
  4. The GitHub Sign-in window will appear. Enter the GitHub Admin account credentials and click the Sign-in button.
  5. If acceptable, click on Authorize OktaOAN to Grant access to the organization account.
  6. A successful authentication confirmation message will be displayed.
  7. Click Save.
  8. Afterward, attempt the group push again.
Loading
GitHub Enterprise Push Group Error: "Invalid JSON: Unexpected character ('<' (code 60)): expected a valid value. 504 Gateway Time-out."