Failed loading resource - error

Godot v4.3

I encountered a problem with using images in godot. I wanted to add an image to the sprite 2d node, but there is an error that says the following:

Failed loading resource: res://assets/character.jpg. Make sure resources have been imported by opening the project in the editor at least once.

I have no idea what to do, I would appreciate any help.

You should just have to put the image in the assets folder. Maybe something wrong with the image. I usually open it in gimp and then export it to the folder.