- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-01-2024 06:06 PM
I have created an outbound rest message to get jobs linked to a pipeline from the GitLab instance.
However, when I build the request from the rest message, I cannot get the query parameter passed to the method correctly.
The get method is https://gitlab,com/projects/1234/pipelines/${pipeline_id}/jobs
I have entered the query parameter as follows:
pipeline_id 876
And nothing seems to work.
Please note that this is the rest step inside of an action in flow designer.
Any help is much appreciated.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-01-2024 07:26 PM
Hi @Ali_Rizvi
The issue is that you're passing pipeline_id as a query parameter, but based on the structure of the URL (/projects/1234/pipelines/${pipeline_id}/jobs), it should be a path parameter.
I hope my answer helps you to resolve your issue if yes please mark my answer as helpful and correct
Thank you
Rajesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-01-2024 07:26 PM
Hi @Ali_Rizvi
The issue is that you're passing pipeline_id as a query parameter, but based on the structure of the URL (/projects/1234/pipelines/${pipeline_id}/jobs), it should be a path parameter.
I hope my answer helps you to resolve your issue if yes please mark my answer as helpful and correct
Thank you
Rajesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-02-2024 09:55 AM
Thanks @Rajesh Chopade1 I removed the query parameter and instead passed the input as data pill from the previous step and it worked. Thanks for the reply.