Knowledge Base         


Why do I get a 401, 403, 404, or 410 error when clicking my link?


ClickMagick doesn’t generate 401, 404, or 410 errors—ever—so if you’re getting one of these errors, either you have a typo in one of the URLs that you’ve entered or there’s a problem with one of the websites you’re promoting.

If you’re getting a “403 forbidden” error, it’s almost certainly a problem with the website that you’re promoting. The rare case where ClickMagick can generate a “403 forbidden” error is if you’re trying to use a tracking link to send a “POST” request in a form:

<form action="https://clkmg.com/[USERNAME]/dietbook" method="POST">

When a form is sent with a POST request, the form data is stored in the body of the request which will be lost as soon as a tracking link tries to redirect to its Primary URL. From a technical viewpoint, using a POST request with a tracking link is wrong.

If you use a “GET” request instead, the form data is transferred in the query string of the action= URL which works just fine with tracking links. To pass that form data on to the Primary URL of the tracking link, simply use the [query_string] token:

Primary URLhttps://dietbook.com?[query_string]

When ClickMagick is just about to redirect to the the Primary URL, it will automatically replace the [query_string] token with the form data that was passed to the tracking link.

Another solution would be to replace the action= URL with a direct link to the target page and track your results from the target page.
 

Other numerical errors

It’s possible that you may get other errors such as the “595 no such device or address” error. Except for the 403 error message, ClickMagick never shows any numerical error messages so if you’re seeing one of these, it’s not ClickMagick that’s generating the error.

The simple debugging test is to take the link in your Primary URL and type it directly into your browser. This totally eliminates ClickMagick. You will almost certainly still get the numerical error.


Article 159 Last updated: 05/22/2020 7:55:49 AM
https://www.clickmagick.com/kb/?article=159