We are delighted to share our new EIC Delivery Methodology for efficiently managing Saviynt Implementations and delivering quick time to value. CLICK HERE.

Transport: Import API

jezzanuena
Regular Contributor
Regular Contributor

Hello! Can someone help me, please? I was trying to import in postman but I am having this error:

jezzanuena_0-1678853911884.png

The path indeed exists but Im having not found the error. I tried to change the path but same error. Am I missing something?

13 REPLIES 13

RakeshMG
Saviynt Employee
Saviynt Employee

The path given has space in it. Please try removing the space from Jezza Nuena and use Jezza_Nuena.


​Regards

Rakesh M Goudar

jezzanuena
Regular Contributor
Regular Contributor

Tried that. I got the same error. 😞

RakeshMG
Saviynt Employee
Saviynt Employee

Could you please share the body of postman.


​Regards

Rakesh M Goudar

jezzanuena
Regular Contributor
Regular Contributor

Hi @RakeshMG here it is. 

{
    "updateuser": "nuenaje",
    "packagetoimport": "/Users/Public/Documents/transportPackage/transport_nuenaje_2023-03-27_00-14-07(UTC).zip",
    "businessjustification": "test only"
}

RakeshMG
Saviynt Employee
Saviynt Employee

We tested and following path is working in our Lab:

 

"packagetoimport""C:\\Users\\Public\\Documents/transport_admin_2023-03-27_06-04-10(UTC).zip",
 
Please modify the path according to your request.

​Regards

Rakesh M Goudar

jezzanuena
Regular Contributor
Regular Contributor

The same error occurs. I tried to change the path as well. But nothing works.

jezzanuena_0-1680051062811.png

 

Hi @jezzanuena 

Can you go to the file and get the path from properties file and check once

 

Thanks

Darshan

jezzanuena
Regular Contributor
Regular Contributor

Hi @Darshanjain here you go

jezzanuena_0-1680671444538.png

 

Looks correct, may need to check once then. You can open a FD on this so that support team can check and assist you.

 

Thanks

Darshan

dgandhi
All-Star
All-Star

Hi,

We use below in our project and works as expected.

dgandhi_0-1680745748206.png

Thanks

Devang

Thanks,
Devang Gandhi
If this reply answered your question, please Accept As Solution and give Kudos to help others who may have a similar problem.

jezzanuena
Regular Contributor
Regular Contributor

Thank you all! Hi @dgandhi may I know how can I set {{auth_user}}? Is it variable?

nimitdave
Saviynt Employee
Saviynt Employee

Yes, auth_user is a variable in postman, the username of user who is doing the import.

@dgandhi can you confirm that /tmp is the saviynt server location or your system location. I believe it will be saviynt servers location.

dgandhi
All-Star
All-Star

Hi @nimitdave 

Yes /tmp is my linux server location.

Thanks

Thanks,
Devang Gandhi
If this reply answered your question, please Accept As Solution and give Kudos to help others who may have a similar problem.