not sure if the error is on my end, but when I try to add an icon or a banner, this error shows up

SyntaxError: Unexpected token ‘<’, “<html> <he”… is not valid JSON

How do I fix this?