Symptom
When fetching model data from the Process Manager API using the /model endpoint, the below error message is received. This also applies when using the spm-client in a JavaScript task in Process Governance to retrieve model data.
Error message: "An error occurred. (platform.exporterror)"
Environment
- SAP Signavio Process Manager
- SAP Signavio Process Governance
Cause
The error "platform.exporterror" occurs when a directory ID is used in the model API endpoint instead of a model ID.
Resolution
- If you are attempting to retrieve model data, use a model ID instead of a directory ID.
- If you are attempting to retrieve directory information, use the directory endpoint, /directory, instead of the model endpoint, /model.
See Also
Keywords
process governance, javascript task, platform.exporterror, modelId, directory ID, error message, API call, SPM, SPG, Process Manager API , KBA , BPI-SIG-PG-JS , JavaScript for SAP Signavio Process Governance , BPI-SIG-CA-API , REST-API for SAP Signavio , Problem
SAP Knowledge Base Article - Public