Uploading Profile Image Throws Null error
-
So I recently updated to the latest docker image of Fusionauth. Currently experiencing the following error when I attempt to upload a user profile imageUrl.
"error": null,
The relevant code is as follows:
data = { 'user': { 'imageUrl': profile_photo, 'email': FusionAuth.get_email() } } upload_image = current_app.faclient.patch_user( FusionAuth.get_user_id(), data ) user = UserModel.get_one_user(FusionAuth.get_user_id()) user.update(data) if upload_image.was_successful(): return {'image_url': data['user']['imageUrl']}, 201 else: return {'error': upload_image.success_response}, 401
This was working prior to the upgrade. Also the rest of the endpoints are working including login, logout and get user. but for whatever reason this endpoint patch_user, does not work.
-
@orrett What version did you upgrade from and what version did you upgrade to? This may be a regression and if so we'd love to know about it.