Push File to Mendix Database using REST

0
Hi everyone,   I'm trying to add Files to Objects in my database using REST, but I always get the error:    An unexpected error occurred while handling REST request  -------- com.mendix.core.CoreRuntimeException: Setting value of FileStoreMendixBinaryImpl outside of a transaction, may cause a stale file in file storage if not committed.    at com.mendix.basis.objectmanagement.member.MendixBinaryFileStoreImpl.inContext(MendixBinaryFileStoreImpl.scala:97)   ...     Does anyone know where that issue comes from? I can't seem to resolve it...   Best regards
asked
1 answers
1

Hello Tom,

 

This is a known issue in 10.6.0 going to 10.6.1 should be enough to fix this see also the release notes:

 

image.png

https://docs.mendix.com/releasenotes/studio-pro/10.6/

 

Hope this helps!

 

answered