How to handle "text" type responses in Imports?

Comments

3 comments

  • Tyler Lamparter Principal Product Manager
    Awesome Follow-up
    Engaged
    Top Contributor
    Answer Pro
    Celigo University Level 4: Legendary

    Zanfer Hussain we currently don't support plain text for responses, but do have it on the roadmap (yes I get the irony here). Your idea on using a postSubmit function is what I would do. Additionally, and what we've done internally sometimes, is create a myAPI that handles getting, deleting, and updating states and then can handle sending back valid json to the flow itself.

    1
  • Zanfer Hussain

    Thanks, Tyler Lamparter for the response and apologies for the late follow-up. I just wanted to check whether you have planned this fix for a future release?

    0
  • Tyler Lamparter Principal Product Manager
    Awesome Follow-up
    Engaged
    Top Contributor
    Answer Pro
    Celigo University Level 4: Legendary

    Zanfer Hussain sorry for the delayed response here. We do have it on the roadmap and are hoping to make it available early next year.

    As another work around, you could use the generic HTTP endpoint with integrator.io, then override the successful media type to CSV. In that case, we will parse the plain text as if it was a CSV and you then wouldn't get this error or need a script to ignore it.

    0

Please sign in to leave a comment.