I get an error code 1002 when I click on the Sandbox URL. Why do I get this?

The test URL (sandbox) is not intended to be called from a web browser.
It must be requested via a server-to-server request.

For further details, please refer to the "Authentication" section of the documentation.