Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Mime Automation connector suddenly throws ResponseSwaggerSchemaValidationFailure #3728

Open
acieslik opened this issue Dec 4, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@acieslik
Copy link
Contributor

acieslik commented Dec 4, 2024

Type of Connector

Independent Publisher Connector

Name of Connector

Mime Automation

Describe the bug

When using the "Extract files from a EML-encoded file" action of the Mime Automation connector it suddenly fails with the follwowing issue...

ResponseSwaggerSchemaValidationFailure. The API 'mimeautomationip' returned an invalid response for workflow operation 'Extract_files_from_a_base64-encoded_EML_file' of type 'OpenApiConnection'. Error details: 'The API operation 'ExtractFilesFromEml' requires the property 'body' to be of type 'Array' but is of type 'String'.'

The action always throws this error, although nothing was changed in the backend. Even in Postman its working as usual.

Is this a security bug?

No, this is not a security bug

What is the severity of this bug?

Severity 1 - Connector is broken or there's a very serious issue

To Reproduce

  1. Create a new Power Automate flow.
  2. Use "Manually trigger a flow" trigger
  3. Initialize variable of type string with the following content of this file:
    https://github.com/acieslik/PowerPlatformConnectors/raw/refs/heads/dev/.vscode/bug1
  4. Add Mime Automation => "Extract files from a base64-encoded EML file" action
  5. In the Content property pass in the Initialize variable from above
  6. Run the flow
  7. It will fail.

Expected behavior

The output of the "Extract files from a base64-encoded EML file" action should be as documented here:
https://learn.microsoft.com/en-us/connectors/mimeautomationip/#array-of-mimeattachment
An array with 3 properties, File Name, Mime Type and Content

Environment summary

Run it on any PowerPlatform environment that supports PowerAutomate flow creation and execution

Additional context

The issue appeared suddenly without having changed anything in the API on the backend side.
With Postman we can execute the API successfully.

@acieslik acieslik added the bug Something isn't working label Dec 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant