Pentaho

 View Only

 Trail env - Failure to access repository via API

Keren Surujon's profile image
Keren Surujon posted 02-01-2023 10:20

I am using the 30 days trail env.

I created a repository in spoon and see the .kettle file automatically updated with it.

I created a transformation (.ktr)  and imported the file to the repository.

 

Trying in postman:
http://localhost:8080/pentaho/kettle/executeTrans/?rep={{rep}}&user={{username}}&pass={{password}}&trans={{rep_transformation_name}}&level=Debug

 

rep:  my_rep

rep_transforamtion_name:   %2Fhome%2FGettingStartedTransformation.ktr

 

I am getting:

 

<webresult>

  <result>ERROR</result>

  <message>Unexpected error executing the transformation:

org.pentaho.di.core.exception.KettleException:

Unable to find repository: my_rep

 

 

When I am trying

{{login_url}}/kettle/executeTrans/?trans={{transformation_name}}&level=Debug

 

transforamtion_name :      C:%2FPentaho%2Fdesign-tools%2Fdata-integration%2Fsamples%2Ftransformations%2FAdd a sequence - Basic example

 

I am getting

<webresult>

  <result>ERROR</result>

  <message>Missing mandatory parameter rep</message>

  <id/>

</webresult>

 

 Could you please advice how to run the transformation via repository and locally in the trail env.

 

#PentahoDataIntegrationPDI
#Pentaho
#Kettle