Hello There,
We are trying to run a playbook to extract pdf files and upload them as a attachment.
Extraction seems to work fine but we end up getting a error on the upload.
Following is the error in the UI.
\n 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
Looking at prod.log in cyops-api/prod.log we can see that there is a Issue with the restrictedMimeTypes.
[2025-12-02 09:10:07] php.WARNING: Warning: Undefined array key "values" {"exception":"[object] (ErrorException(code: 0): Warning: Undefined array key \"values\" at /opt/cyops-api/src/Service/UtilityService.php:669)"} []
[2025-12-02 09:10:07] php.CRITICAL: Uncaught Error: App\Controller\FilesController::validateMimeType(): Argument #3 ($restrictedMimeTypes) must be of type array, null given, called in /opt/cyops-api/src/Controller/FilesController.php on line 193 {"exception":"[object] (TypeError(code: 0): App\\Controller\\FilesController::validateMimeType(): Argument #3 ($restrictedMimeTypes) must be of type array, null given, called in /opt/cyops-api/src/Controller/FilesController.php on line 193 at /opt/cyops-api/src/Controller/FilesController.php:175)"} []
It looks like it is not getting supplied with the restrictedMimeTypes argument. We are using the util connector for the upload in version 3.7.0 . So we do not know where the problem is.
Following is the configuration of the connector
And the input to the node in question:
Anyone else encountered the Issue? Maybe we are jsut doing something wrong and using the connector wrong. Sadly the documentation for the exact API Call is vague and not that greatly documented.
Best Regards,
FortiSOAR
Solved! Go to Solution.
Solution Found.
It is a apparend Bug in FortiSOAR 7.6.4 that the Restricted Mime Type Setting needs to be filled and cannot be empty. Bug Report was opend on a seperate Channel.
Solution Found.
It is a apparend Bug in FortiSOAR 7.6.4 that the Restricted Mime Type Setting needs to be filled and cannot be empty. Bug Report was opend on a seperate Channel.
we have a problem with faz as well.. want it to upload csv reports every hour uncompressed for some splunk dashboards.. evidently it's a new feature request to not zip something :)
| User | Count |
|---|---|
| 2814 | |
| 1431 | |
| 812 | |
| 775 | |
| 455 |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2025 Fortinet, Inc. All Rights Reserved.