For Workers & Pages, what is the name of the domain?
hermes.yuannan.workers.dev
What is the error number?
What is the error message?
API Request Failed: POST /api/v4/accounts/XXX/pages/connections/gitlab/EmergenceLTD/repos/Clients%2FAI_Now%2FHermes/webhooks/refresh (500)
What is the issue or error you’re encountering
Unable to use some features of workers as the wrong API URL is called
What steps have you taken to resolve the issue?
I’ve tried going to the gitlab page and check it exists.
I’m pretty sure it is because the percentage encoding and decoding algorithm here is broken.
The request should be going down to /EmergenceLTD/repos/Clients/AI_Now/Hermes/webhooks/refresh
but instead the percetages are not decoded properly and it’s going down to /EmergenceLTD/repos/Clients%2FAI_Now%2FHermes/webhooks/refresh
.
What are the steps to reproduce the issue?
Goto the Workers Settings page.
- try and enable
Builds for non-production branches
, it will return this error:API Request Failed: POST /api/v4/accounts/XXX/pages/connections/gitlab/EmergenceLTD/repos/Clients%2FAI_Now%2FHermes/webhooks/refresh (500)
- In Settings > Runtime > Manage: the URL goes to:
https://gitlab.com/EmergenceLTD/Clients%2FAI_Now%2FHermes/-/hooks/
which also has the wrong decoding.