How do I upload a file from browser to Strapi with GraphQL?

Hello @KeziahMoselle ,

I’ve started strapi a week ago.

I was also getting this type of error message and I resolved this issue.

As per the error message, the image attribute expects only “ID”.

ID you will get from the Media Library ASSET ID.

for Example

so means you can’t upload the image from here.
for image uploading, you need to call the UPLOAD_FILE mutation.