FortiSOAR Knowledge Base
FortiSOAR: Security Orchestration and Response software provides innovative case management, automation, and orchestration. It pulls together all of an organization's tools, helps unify operations, and reduce alert fatigue, context switching, and the mean time to respond to incidents.
jankit6
Staff
Staff
Article Id 417195
Description This article helps fix an issue with the utility connector action 'Create an attachment from file'.
Scope FortiSOAR v7.6.4.
Solution

After upgrading FortiSOAR to the 7.6.4 version, if the utility connector action 'Create an attachment from file' fails with the following Error:

 

CS-INTEGRATION-5: Error occurred while executing the connector action. ERROR :: 400 Client Error: Bad Request for url: https://localhost/api/3/files :: {'type': 'TypeError', 'message': \"Internal Server Error. Check log 'prod.log' for more details\"} :: Url: https://localhost/api/3/files Call for URL: https://localhost:9595/integration/execute/ failed with status code 400 \n

 

Screenshot_343.png

 

  • Verify that the value configured in the field 'Restricted File MIME Types' can be found under Settings -> Application configuration.
  • If no value is configured, then it will pass null and cause a problem for the connector action.
  • Configure at least one value to restrict the file type and save to fix the issue.

 

Screenshot_344.png

 

Related document:

Enabling MIME type validations for file uploads