If you're setting up a GitHub Actions build for the first time, you may run across unhelpful errors blocking the build from starting, such as a "Unexpected token < in JSON" error when configuring the OIDC:
This error usually means that rather than a JSON "{" character, an HTML page (Using a "<" in "<html>") was returned instead. More information on this error would help you diagnose the cause of the issue and resolve it.
To print the full error and not just the first character, copy over a debugging "workflow.yml" found on the JFrog Project Examples GitHub. You can create a separate workflow in your project by creating a new file in your GitHub repository's "workflows" folder:
This will create a separate "JFrog CLI Example" job using the configuration in the simpleWorkflow.yml. When you run this other job, the CLI will print the full error HTML page you're getting in the other build:
It looks like the JFrog URL the project is using is behind an Nginx IP block .