Update with missing body

I’ve been working on an integration with the monday api and a portal we made for our clients so they can create tickets in our monday boards and track the progress on them.

We ran into an issue where whenever we create an update to an item with a body containing a base64 encoded image over 50Kb in size the body shows completely empty on monday.

Images smaller than this size show up perfectly fine. Is there something I might be doing wrong/missing?

Hi @Bas_F!

Do you mind sending me a screenshot of the code you’re using? Please make sure to white out any sensitive data and IDs.

I can then try and better understand what the issue may be. I suspect it might be related to how you’re uploading the file, rather than a bug or something.

Thanks!

Hello Helen,

Below is the code i’m using for the mutation.


Thank you for taking a look.

Hey @Bas_F

Thank you for getting back to us here!

Just to make sure we’re on the same page here, it seems like you are posting an update with just the body, but not using a mutation to actually upload a file? If so, I’m afraid this would be the expected behavior - I would recommend posting the update, returning the ID of the new update, and then using the add_file_to_update mutation in order to add the file to it.

Would you be able to give this a shot, or perhaps clarify how you are uploading files to updates, as this is not shown in your screenshot? I hope we can get to the bottom fo this together :slight_smile:

-Alex

Hello Alex,

I am currently not trying to add files to updates.
The body contains a html format string which can contain images that get base64 encoded. This comes from the frontend using tiptap vuetify.

Example of update with small size image:

Example of update with large size image:

Thank you for looking into it

Hi Bas,

I’m curious to learn more about the HTML you’re sending in your selectedImage variable.

Do you mind sending over an example of one?

I’m also checking with our developers on this in case there’s an imposed limit for encoded files sent this way.

Thanks!
Helen

Hey Helen,

Currently selectedImage is not being used, I was using this variable for an add_file_to_update mutation, but it would be preferrable to have the images included in the body of the update itself.

With add_file_to_update i also ran into the issue that the file attached to an update wouldn’t give a preview and would download to local when selected.

An example of the content of the query that is send is:
(body contains the description variable with all of the HTML content)

Which ends up in monday as:

Was there any imposed limit according to the developers?

-Bas

Hi @Bas_F!

The size limit for our files is 500 MB as stated in our support article here.

Do you mind passing the image to me so I can see if I’m able to reproduce? If it contains sensitive information feel free to email it to appsupport@monday.com.

Thank you!

Hey Helen,

The image i’m testing with mostly is this:
LinkThings logo instagram

The issue that i’m running into with the empty updates seems to be for any update that has an image over the size of 50kB in the body.

Does the 500 MB size limit go for every column type or only the files column type. Are there any limitations specifically for the body of an update?

Hi @Bas_F,

Thanks for sending this image over. I tested this out and was able to reproduce.

I’m going to reach out to our developers and confirm whether or not this behavior is expected.

With regards to your question, the 500 MB size limit applies to all files.

I will let you know as soon as I hear back!