# Getting Error: QImage::scaleWidth: Image is a null image

**URL:** <https://devforum.zoom.us/t/getting-error-qimage-image-is-a-null-image/122626>\
**Category:** Meeting SDK\
**Created:** [December 17, 2024, 7:03pm UTC](https://devforum.zoom.us/t/getting-error-qimage-image-is-a-null-image/122626 "2024-12-17T19:03:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![noahviktorschenk](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/noahviktorschenk/32/74873_2.png) [@noahviktorschenk](https://devforum.zoom.us/u/noahviktorschenk)\
**Post date:** [December 17, 2024, 7:03pm UTC](https://devforum.zoom.us/t/getting-error-qimage-image-is-a-null-image/122626/1 "2024-12-17T19:03:12Z")

</div>

Hey there,

I am building a Zoom bot using the Linux `meetingsdk-headless-linux-sample`. I was previously using a version from April this year but recently decided to update to the latest version. And ported over all of my custom code parts, and changes but when I run it I get:  
`QImage::scaleWidth: Image is a null image`

The bot joins the meeting perfectly fine, but I get this error as soon as it joins. It comes up immediately after the `MEETING_STATUS_INMEETING` is received. I am not sure what is causing this error, but I’m not using any of the raw recordings like audio or video, I am only using the in-meeting chat functions currently.

Any guidance or insights are much appreciated.

---

<div class="post-metadata">

**Author:** ![noah.duncan](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/noah.duncan/32/51124_2.png) [@noah.duncan](https://devforum.zoom.us/u/noah.duncan)\
**Post date:** [December 17, 2024, 8:54pm UTC](https://devforum.zoom.us/t/getting-error-qimage-image-is-a-null-image/122626/2 "2024-12-17T20:54:14Z")

</div>

> [@noahviktorschenk](#):
>
> The bot joins the meeting perfectly fine, but I get this error as soon as it joins. It comes up immediately after the `MEETING_STATUS_INMEETING` is received. I am not sure what is causing this error, but I’m not using any of the raw recordings like audio or video, I am only using the in-meeting chat functions currently.

Is the error causing any problems? I get the same thing, but it doesn’t seem to be affecting anything.

The error looks like it comes from QT. It looks like the Zoom Client uses QT under the hood in Linux. But the Linux SDK is Headless, so it’s not going to render any QT elements. So it might be a harmless error related to the fact that the Linux SDK is not rendering any UI elements but some other piece of code expects a UI element and emits an error.
