put ajax request type, error, and part of the URL in the error message