Unable to discover repository from GitLab in DevOps Change Velocity

srath
Tera Guru

Hi There,

 

I tried connecting GitLab from DevOps Change workspace and it it discover the pipeline .However, the repository from GitLab is not being fetched to my ServiceNow instance. PFB.

srath_0-1715160703298.png

Am using OAuth verification for this .The project(repository) in my GitLab is public and all required access token are configured. The Webhooks from GitLab also are being connected successfully.

For import request (capability=code) , i see error "Discover Payload from Subflow is empty"

 

Can anyone let me know why is this error appearing and how to solve this ? Any input on this would really be helpful. 

 

Thanks,

Sitarani

3 REPLIES 3

Senthilnathan R
ServiceNow Employee
ServiceNow Employee

Hi @srath Could you please create a case on support.servicenow.com and let me know. We will check this by hopping on to your instance and help to resolve it.

 

Thanks

Senthil

Josh Gold
Tera Expert

@srath if you can't figure it out, you could always try syncing GitLab repositories to ServiceNow with Unito's 2-way integration. It includes a free trial to test it out yourself and see if the integration works as intended.

And you can find ServiceNow docs for Unito on their knowledge base.

ericpetty
Tera Contributor

As I am having a very similar issue with (on a Jira integration) I suspect something is wrong with the permissions on sys_flow_context table so it can't read the workflow context reference and crashes out. 

What I found  so far is that when the scheduled discovery runs, it completes, but if I *manually* force discovery for imports it fails because the job is started under my name, not the system. I hope you got some resolution before this, but this more for others who breadcrumb behind us.