Issue syncing with Pavlovia

I can’t seem to sync my PsychoPy experiment to Pavlovia due to an error code:
Can someone please explain this issue to me so I can fix it?

Traceback (most recent call last):
File “C:\Program Files\PsychoPy\lib\site-packages\psychopy\app\builder\”, line 1369, in onPavloviaSync
File “C:\Program Files\PsychoPy\lib\site-packages\psychopy\app\builder\”, line 808, in fileExport
File “C:\Program Files\PsychoPy\lib\site-packages\psychopy\”, line 729, in showCoder
File “C:\Program Files\PsychoPy\lib\site-packages\psychopy\app\coder\”, line 2734, in setOutputWindow
File “C:\Program Files\PsychoPy\lib\site-packages\wx\lib\agw\aui\”, line 6388, in Update
File “C:\Program Files\PsychoPy\lib\site-packages\wx\lib\agw\aui\”, line 6582, in DoUpdate
File “C:\Program Files\PsychoPy\lib\site-packages\wx\lib\agw\aui\”, line 8773, in Repaint
client_dc = wx.BufferedDC(wx.ClientDC(self._frame), wx.Size(w, h))
wx._core.wxAssertionError: C++ assertion “m_buffer && m_buffer->IsOk()” failed at …..\src\common\dcbufcmn.cpp(134) in wxBufferedDC::UnMask(): invalid backing store

Try closing the coder window and retry.

I have attempted retrying multiple times. I have deleted the experiment and attempted to resync it to pavlovia and I still get the same error. I have even remade the excel files that my data is on and attempted to use them instead but no luck.

Please may you confirm that when you try to sync only the psychopy builder window is open? (i.e. no coder view open - as Wake suggested).