Error "Illegal Input" when creating a schedule update rule for a file in TIBCO Spotfire

Error "Illegal Input" when creating a schedule update rule for a file in TIBCO Spotfire

book

Article ID: KB0077012

calendar_today

Updated On:

Products Versions
Spotfire Server 7.5 and higher

Description

While creating a schedule update rule for a .dxp file via the TIBCO Spotfire Server (see  Creating scheduled updates by using Spotfire Server for more details), it might show the error "Illegal input" in the bottom right corner and the rule will not be created:
Could not create rule due to internal server error: Illegal input: Error message: Illegal input

This issue can be seen in the following scenario:
  1. There is a rule that is using an analysis file say "abc.dxp", located under "\test\abc.dxp".
  2. The directory "test" is now moved from Spotfire library home to "New-Directory".
  3. The analysis file is now located under "New-Directory\test\abc.dxp".
  4. If a new rule is now created for the analysis file "abc.dxp", located under "New-Directory\test\abc.dxp", it will fail with the above error.

Issue/Introduction

Unable to create a schedule update rule with error "Illegal Input"

Resolution

When only the analysis file is moved within the Spotfire Library (and not the whole directory), any existing Scheduled Updates file rules will be automatically updated with the new path to the .dxp file.  But if the entire directory is moved as in the situation above, the new path of the analysis file is not updated in the rule as expected. This means the existing rule is no longer valid and if a new rule is created which tries to use that same .dxp file the one File rule per dxp limit is not caught and the exception is seen.

To resolve, either:
  • Update the existing rule which references the .dxp in question instead of creating a new File rule
or:
  • Delete the existing rule first and then attempt to create the new rule again.

Additional Information

Doc: Creating scheduled updates by using Spotfire Server