Invalid repository - GitLab extension

I’m trying to setup the GitLab extension (I have installed and uninstalled multiple times) but it does not work. I do not get any errors on the UI, but when I inspect the console and network tabs, I get a 400 error when calling …/api/deployments" and “Invalid repository: …”.

The GitLab integration is supposed to be listening for push events in a branch other than master (staging branch). Funny enough I was able to setup our master branch webhook (after many tries it just “magically” worked), but after following the same procedure for staging branch, it simply does not work.

Has anyone gone through this problem or other problems setting up the GitLab extension?

Hey there @ma206, welcome to Auth0’s Community!

Can you please confirm you are using the latest version of the extension. If you are not, please un-install and then re-install.

We’ve also seen issues in the past with invalid secrets being used.


I wanted to follow up @ma206 and see how everything is going? Please let me know if you have any questions.

Hi @James.Morrison

I have the latest version installed, and I was able to make the integration work. I only get the error now when I try to use the deploy button

When you try to deploy and you receive the 400 error, do you see anything else in the logs? Can you snag a few screen shots as we dive deeper into this as well as a HAR file capture of the workflow. Please be sure to select “Preserve log” to catch redirects and scrub the file of user passwords before passing, thanks!

Hi @James.Morrison

I have look into the error logs and HAR file as well. There’s not much there just (it happens to all three repos I am using)

{error: “ArgumentError”, message: “Invalid repository: [REPO NAME]”}
error: “ArgumentError”
message: “Invalid repository: [REPO NAME]”

There’s also another request that returns the list of all deployments - that request is successful. Both requests are to the “deployments” endpoint.

Hey @ma206, when you get a chance can you share a screenshot of your GitLab extension config? Thanks in advance!

I wanted to follow up on getting your GitLab Extension Config. Please let me know if you have any questions. Thanks!

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.