sledge13 Posted September 28, 2021 Share Posted September 28, 2021 Hi,i have a problem with export and import using JASPERSERVER Rest API. Jasper server version is 7.5.0. Trying to find a way,how to use encrypted keys. Im testing export/import in Postman, and i always get message like this: <?xml version="1.0" encoding="UTF-8" standalone="yes"?><state><error><errorCode>import.decode.failed</errorCode><parameters/></error><id>669d5fdf-21a2-420f-a9b4-e10930ce4175</id><message>import.decode.failed</message><phase>failed</phase></state>Any advice?Thanks Link to comment Share on other sites More sharing options...
yama818 Posted September 28, 2021 Share Posted September 28, 2021 I haven't tried it, but I found a site that might be helpful.https://community.jaspersoft.com/documentation/tibco-jasperreports-server-rest-api-reference/v750/import-serviceIt looks like you need to specify 'secret-key' or 'secretUri'.I hope this is useful to you. Link to comment Share on other sites More sharing options...
sledge13 Posted September 29, 2021 Author Share Posted September 29, 2021 Thank you for your answer.I tried your solution,and of course i read documentation,but still no luck :)Do you have any example? Because in official video tutorial,export/import is done without any encryption and im not sure where should put those secretkey and secretUri informations. Link to comment Share on other sites More sharing options...
yama818 Posted September 29, 2021 Share Posted September 29, 2021 First of all, you need to watch the following video to understand the role of the keystore and how to use it when exporting and importing.I'm still learning, but it seems that the import method differs depending on the exported JRS version and export method.It's difficult...Dr. Jaspersofthttps://community.jaspersoft.com/wiki/dr-jaspersoft --> 10) Keystore Management (9/10/20) Link to comment Share on other sites More sharing options...
sledge13 Posted September 30, 2021 Author Share Posted September 30, 2021 i understand how keystore works...when i did export and import manually using js-export and js-import scripts,it worked.js-export script generated secret key,that i used during the import process, everything was working fineI just have to figure out,how to use it with API requests,and that the problem... Link to comment Share on other sites More sharing options...
tom.beckman Posted May 10, 2023 Share Posted May 10, 2023 so has anyone gotten this? I am struggling with the same issues and none of the earlier suggested materials seem to be of any benefit. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now