check for 403 forbidden error