Unknown exception. Status code:504

Moku model: Moku:pro
Operating system:Python
Software version:

**Bug or support request description: When trying to use the MiM with Python where I want to extract data from a LockInAmp and a Spectral Analyser as function of an external parameter that I loop over, I get the error “Unknown exception. Status code:504” (cf simplified version of the code in the joint file)