When I copy/paste JSON-LD example from Google Documentation (code-snippet below) I get an error in the Structured Data Testing Tool:
http://www.
One reason this happens is because of the testing tool's UX. It seems kinda buggy to me.
First run a fresh test on a domain. You will see the Organization url is correct and there are no warnings since all matches.
Now, click in the source code (left pane) and add a single space somewhere harmless. You will see the domain disappears in the top bar:
You will also see the warning appear. Hitting "refresh" or starting a fresh test will correct the error again. I'm guessing the reason they do this is because when manually editing schema you are no longer, technically, reflecting the source from a domain.