StreamSets

StreamSets

Connect with experts and peers to elevate technical expertise, solve problems and share insights.


#DataIntegration
#Data
 View Only
  • 1.  streamsets project job instance to be run using API credential on fabric airflow

    Posted 08/10/26 03:29 PM

    hello Community,

    I am fairly new to IBM streamsets and i am in the process of defining how to set up developer workspace, env workspace using projects. I was successful in getting the projects defined, able to create pipelines, job instances and run them on control hub. But when i try to invoke the same job instance using the job id from airflow for this project, it fails  as

    [2026-08-10, 17:48:36 UTC] {logging_mixin.py:190} INFO - Body: {"ISSUES":[{"code":"RESTAPI_08","message":"ORG cannot perform actions on the object owned by Project Id 14549ccc-05de-437d-a4fa-ca7758ee50c8."}]} [2026-08-10, 17:48:36 UTC] {taskinstance.py:3313} ERROR - Task failed with exception

    Please let me know how to fix this. I am using dags to reach the streamsets.

    Thanks

    Vivek TP



    ------------------------------
    vivek thulasi
    ------------------------------


  • 2.  RE: streamsets project job instance to be run using API credential on fabric airflow

    Posted 08/10/26 05:10 PM
    Edited by Eric Greisdorf 08/10/26 06:57 PM

    Hi Vivek,

    Thank you for posting. I'm so glad to hear you're leveraging IBM StreamSets popular Projects capability. 

    I would suggest checking that your Service Account API credentials have the required role based access to the StreamSets Project, as described in the StreamSets Python SDK documentation [link]. 

    It's also been suggested you might be making an ORG level request to run a Project level resource and using "/jobrunner/rest/v1/jobs?project=14549ccc-..." should work.

    More information about defining Projects and User Roles can be found in the IBM StreamSets documentation. [link]

    If the problem persists, please open a support case for tracking to the fastest resolution [link]. 

    Best Regards,

    Eric



    ------------------------------
    Eric Greisdorf
    ------------------------------



  • 3.  RE: streamsets project job instance to be run using API credential on fabric airflow

    Posted 30 days ago

    Hello Eric!

    Thank you for responding. The question i have with respect to your suggestion is on

    "It's also been suggested you might be making an ORG level request to run a Project level resource and using "/jobrunner/rest/v1/jobs?project=14549ccc-..." should work."

    The end of the line says, the above jobrunner script should work for the project if i am understanding it correctly. But the issue is, i am still facing error, this time it is

    {
        "ISSUES": [
            {
                "code": "RESTAPI_08",
                "message": "ORG cannot perform actions on the object owned by Project Id 14549ccc-05de-437d-a4fa-ca7758ee50c8."
            }
        ]
    }


    i have added the user to the job instance with read/write permissions. The user has been added to the project/ deployment engines/job instance(with read/write permissions)/pipeline(with read/write permissions). Hence i am not sure what else would need to be done. My only guess is how the API credentials are being created. Is there a process to see if it can be created at project level.

    THanks

    Vivek TP



    ------------------------------
    vivek thulasi
    ------------------------------



  • 4.  RE: streamsets project job instance to be run using API credential on fabric airflow

    Posted 29 days ago

    Hi Vivek,

    I've created a little working example, and am able to reproduce the message by omitting the Project ID from the REST API. 

    I didn't have to recreate my API credentials, they're supplied like in this GitHub integration subscription video. [link]

    The first Stage queries for Project Level Jobs tagged (example for a specific cost center), we Pivot the query results, then Start the Jobs.

    Job Query: https://dev.hub.streamsets.com/jobrunner/rest/v1/saql/jobs/search?search=tag=in=mycostcenter&project=d57548e0-fd03-4352-8706-f6055a8271a5

    Job Start: https://dev.hub.streamsets.com/jobrunner/rest/v1/job/e9f0d36c-d679-4b5d-9924-7612f4fbf6f0:d47ddc08-9b6a-11ed-a52e-df3027e96134/start?project=d57548e0-fd03-4352-8706-f6055a8271a5

    image

    The Project ID can be found under Manage Projects.

    image

    The Job ID can be found under 'Show Additional Info" for the Job.

    image

    Example Pipeline Job Being Started:

    image

    I hope this helps. Please reach out if we can be of further assistance.

    Best Regards,

    Eric



    ------------------------------
    Eric Greisdorf
    ------------------------------



  • 5.  RE: streamsets project job instance to be run using API credential on fabric airflow

    Posted 29 days ago

    Hello Eric! first of thanks so much for this info. I was able to get the project level execution done from airflow and it worked as expected. I am in the process of doing CICD migration using the API credentials to the project using python SDK for streamsets and so far it is going as expected. I think for now, i am all set, but will reach out to you all in case i am stuck in any place.

    Thanks

    Vivek TP



    ------------------------------
    vivek thulasi
    ------------------------------