Use crossorigin attr and header for get error detail