UploadThing: Image upload successful, but reaching neither onUploadError nor onUploadSuccess

This used to work for some time, but today it stopped working

UploadThingError: Something went wrong. Please report this to UploadThing.
    at INTERNAL_DO_NOT_USE__fatalClientError (index.js:494:52)
    at __useUploadThingInternal.useEvent[startUpload] (button-client-DpQoAqtf.js:243:119)Caused by: TypeError: Cannot read properties of undefined (reading 'recipeImageId')
    at useRecipeImagesContext.useUploadThing [as onClientUploadComplete] (C:\Users\rolan\WebstormProjects\pomegranate\app\(protected)\(subscription)\me\recipes\_components\RecipeContextV2\useRecipeImagesContext.ts:61:38)
    at __useUploadThingInternal.useEvent[startUpload] (button-client-DpQoAqtf.js:231:221)
Was this page helpful?