GitHub Webhook for ingestion into Dynatrace gives Invalid HTTP Response: 401

I am attempting to setup event ingestion from GitHub following this documentation:
Observe GitHub pipelines and pull requests with Dashboards and SDLC events — Dynatrace Docs

I have followed all of the steps exactly and even verified that the token generated works via Powershell, yet GitHub gives a 401 error no matter what I do.

Can anyone help me figure out what I am missing? Thanks!

I resolved the issue by putting the token in the webhook header url.