question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error in data mapper when editing an API Provider flow which changed due to API definition change

See original GitHub issue

See also https://issues.jboss.org/browse/ENTESB-11434

This is a…


[ ] Feature request
[ ] Regression (a behavior that used to work and stopped working in a new release)
[x] Bug report  
[ ] Documentation issue or request

Description

In an API Provider integration, after changing the return type of an operation that’s already implemented, trying to update the data mapping causes the following error:

Data Mapper UI Initialization Error: Could not load document 'i-LaUfMv856-V-nkQhsB7z': undefined undefined 

image

Steps to reproduce:

  1. create an API Provider integration with a flow that requires a data mapping
  2. edit the operation so that the data mapping would not be valid (e.g. change the return type)
  3. save the API definition
  4. open the appropriate flow, notice a warning badge on the result
  5. open the data mapper to change the mapping, the above error is shown

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:30 (20 by maintainers)

github_iconTop GitHub Comments

1reaction
asmigalacommented, Mar 21, 2019

I’d definitely include a message for the user explaining that this happened because they changed something and is not just a random error, and also that they should delete the mapper step and create it again.

0reactions
heiko-brauncommented, Sep 7, 2019
Read more comments on GitHub >

github_iconTop Results From Across the Web

Common Salesforce Flow Errors and How to Troubleshoot Them
Another common issue that can lead to flow errors has to do with variables and parameters. Different jobs require different parameters in order ......
Read more >
Guide to building an enterprise API strategy | TechTarget
APIs are smaller and easier to update or modify than fully developed applications, which allows API providers to respond quickly to changing ......
Read more >
OpenAPI Specification - Version 3.0.3 - Swagger
The OpenAPI Specification defines a standard interface to RESTful APIs which ... For example, a valid OpenAPI 3.0.2 document, upon changing its openapi ......
Read more >
OpenAPI Specification v3.1.0 | Introduction, Definitions, & More
As defined by the JSON Schema Validation vocabulary, data types can have an optional ... This is not related to the API info.version...
Read more >
Integrating Applications with Fuse Online Red Hat Fuse 7.3
A simple integration has one flow while an API provider integration has a ... The data mapper automatically changes the field action from...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found