☁️
Flow IFS Cloud Development Guidelines
  • Flow IFS Cloud Development Guidelines
  • 👶Getting started
    • OData Basics
    • IFS Cloud
    • Terminology
    • Useful Applications
    • IFS documentation
      • IFS API Explorer
      • Entity details
    • Setting up the OData connector
      • Configure connection between Flow Server and IFS Cloud
      • Selecting which configurations are visible in Flow Server
  • 👩‍💻Flow Development with OData
    • Architecture
    • Flow development and distribution strategy
    • Implementation
      • Operations in OData machine steps
      • Missing operations
      • Translations
      • Iteration
      • Join data sets
      • Misc Tips and trix
      • Document / Media Library Management
      • Response status handling
        • Errors from IFS
      • Operation specific notes
        • Set input parameters using flow script
        • Update
        • 🛠️WIP - Create
        • Read
    • Configuration
      • Authentication models
        • Setup Client credential flow
        • 🛠️Setup Password credentials flow
        • 🛠️Setup Authorization code flow
        • 🛠️Setup OpenID flow
        • Obtaining Authentication related URLs from IFS Cloud
      • Projection administration
        • Administrating new projections
        • Administrating updated projections
      • Configuring projections in IFS
        • Custom Entities
        • Custom Projections
        • 🛠️WIP - Query Designer
        • Quick Reports
    • Trigger Flows from IFS Cloud
      • Trigger User Flows via External Navigation Links
      • Trigger Machine Flows via BPA using commands
      • 🛠️Trigger Flow via Event Action
    • Debugging and Testing
      • Aurena debugging
        • Inspect in web browser
        • IFS debug console
      • OData Connector Log
  • 🪄Advanced
    • Custom Request
    • C# usage in the OData connector
      • Different methods
      • Building request
      • 🛠️WIP - Code examples
Powered by GitBook
On this page
  • ODP_MISSING_PRECONDITION
  • Adding several header attributes
  • ODP_DESERIALIZATION_ERROR
  • MI_MODIFIED_ERROR
  • ODP_RESOURCE_NOTFOUND
  • ODP_NOT_IMPLEMENTED

Was this helpful?

  1. Flow Development with OData
  2. Implementation
  3. Response status handling

Errors from IFS

Page will include specific errors returned by IFS that has been identified so far, what they mean and how to handle them.

PreviousResponse status handlingNextOperation specific notes

Last updated 1 year ago

Was this helpful?

ODP_MISSING_PRECONDITION

This error indicates that the IFS API is expecting additional parameter(s) in request header. Inspect the request header contents in Chrome inspect log and add required header attributes. Finding out what attribute is missing is solved by the "trial and error" method.

Adding several header attributes

In case more than one additional header attribute needs to be added, create a Flow table table(Name, Value) and provide values and use in the machine step as in the example.

ODP_DESERIALIZATION_ERROR

{"error":{"code":"ODP_DESERIALIZATION_ERROR","message":"Error while de-serializing contents."}}

Rest call header does not include "Content-Type" value "application-json" or body is not correctly in json format. Normally occurs when you call IFS outside flow apps (like Postman).

MI_MODIFIED_ERROR

To improve the response time, the IFS OData Provider caches the projection metadata once it is loaded from the database. During each call OData Provider validates the cached metadata version with that of the database. If the validation fails, the request will fail with HTTP response code 500 and the response body will contain the error code as MI_MODIFIED_ERROR. Then OData-Provider will invalidate the cached metadata, forcing it to be fetched from the database at the next request.

When a user gets this error response the OData-Provider expect the user to retry the same request again. Then OData-Provider will load the latest projection metadata from the database and serve the request accordingly.

Change request NPS-1333 created regarding this if OData connector could repeat the call automatically if this is error received from IFS.

ODP_RESOURCE_NOTFOUND

Error occurs when you execute Ready by Key -operation with an non-existent entity key.

ODP_NOT_IMPLEMENTED

Error Indicates that API specification exists but implementation is missing. Select another operation.

The error in this example occurred during Update-operation which requires if-match attribute. Read more about solving this issue.

👩‍💻
here
Adding one header attribute
Adding several custom header attributes to a table
Configure custom header attributes from a table
Projection has been updated in database
API not implmented buy IFS