Skip to main content

Promise of updating doc block via SDK doesn't resolve

  • December 6, 2024
  • 3 replies
  • 12 views

mtkacz-soldevelo

Hi,
I use the following code to update doc blocks using the SDK:

monday.execute('updateDocBlock', variables)

where variables is of course an object with ID and content.
According to the docs (monday.execute) it should return a promise and should be awaited. However when I await it, the update is sent, but the promise is never resolved. The execution get stuck in the function, so to make it work, the function cannot be awaited.
It looks to me like a bug.

3 replies

Matias.Monday
Forum|alt.badge.img
  • monday.com Team Member
  • December 8, 2024

Hello there @mtkacz-soldevelo,

Would you be able to please fill this form adding as much information as possible to it so that our team can take a look into it?


mtkacz-soldevelo
  • Author
  • Participating Frequently
  • December 9, 2024

@Matias.Monday
Yes, of course. I’ve reported the issue.


Matias.Monday
Forum|alt.badge.img
  • monday.com Team Member
  • December 11, 2024

Thank you @mtkacz-soldevelo !