@Daniel Petersson Thanks for reaching out.
If you do not want that Thumbnail photo Attribute to get synced, you can uncheck that from the list of attributes under synchronization service.
Make sure that you do not need this attribute first before unchecking it. I am assuming that you are not syncing any thumbnailphoto for any users,
If yes, then only do this. If you do not get this error message for all users and only for some, you need to make sure to compare the photo size from a working user (should be under 10kb) and manually change that for non working users so that their thumbnail photo is under 10KB max. Once done, these error wont show up.
-----------------------------------------------------------------------------------------------------------------
If the suggested response helped you resolve your issue, please do not forget to accept the response as Answer and "Up-Vote" for the answer that helped you for benefit of the community.