I'm using Axeda Platform 6.6 and when I tried to add DownloadInstruction to Software Package and create or update the package with V2 API SoftwarePackageBridge I received the error:
An unexpected error has occurred. If you continue to receive this error please contact support and report the event
Some other instruction like RestartAgentInstruction added successfully.
What can be a reason of such behavior?
Vadim Duchovny, Senior Software Engineer
Solved! Go to Solution.
Can you post the code sample you are using?
6.6 had some unimplemented features, but the bridge features are also very particular in their inputs.
See attached file (I renamed it from .groovy to .txt)
Before execution I verified that folder "/var/tmp/delivery" has valid file.
Thanks at advance,
Now I see what's going on. You are mixing v1 and v2 APIs. DownloadInstruction is a v1 API.
You want to use the v2 DownloadFileInstruction: com.axeda.services.v2.DownloadFileInstruction
You will need to upload the file to the platform first to get a reference. Please see the following link for more information on the process.
Thank you very much, Chris, for excellent assistance.
I'll try to use the example you mentioned.
I didn't saw at first the second page of your explanation where you give the V1 API script.
I used it and now the package successfully created.
Thank you very much for excellent and absolutely clear assistance