{"action":"created","issue":{"url":"https://api.github.com/repos/erikras/redux-form/issues/3924","repository_url":"https://api.github.com/repos/erikras/redux-form","labels_url":"https://api.github.com/repos/erikras/redux-form/issues/3924/labels{/name}","comments_url":"https://api.github.com/repos/erikras/redux-form/issues/3924/comments","events_url":"https://api.github.com/repos/erikras/redux-form/issues/3924/events","html_url":"https://github.com/erikras/redux-form/issues/3924","id":306253103,"number":3924,"title":"asyncValidate does not pass error","user":{"login":"NikolaiSemenov","id":20515383,"avatar_url":"https://avatars0.githubusercontent.com/u/20515383?v=4","gravatar_id":"","url":"https://api.github.com/users/NikolaiSemenov","html_url":"https://github.com/NikolaiSemenov","followers_url":"https://api.github.com/users/NikolaiSemenov/followers","following_url":"https://api.github.com/users/NikolaiSemenov/following{/other_user}","gists_url":"https://api.github.com/users/NikolaiSemenov/gists{/gist_id}","starred_url":"https://api.github.com/users/NikolaiSemenov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NikolaiSemenov/subscriptions","organizations_url":"https://api.github.com/users/NikolaiSemenov/orgs","repos_url":"https://api.github.com/users/NikolaiSemenov/repos","events_url":"https://api.github.com/users/NikolaiSemenov/events{/privacy}","received_events_url":"https://api.github.com/users/NikolaiSemenov/received_events","type":"User","site_admin":false},"labels":[{"id":242808388,"url":"https://api.github.com/repos/erikras/redux-form/labels/question","name":"question","color":"cc317c","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-18T16:04:57Z","updated_at":"2018-03-18T23:00:57Z","closed_at":"2018-03-18T23:00:57Z","author_association":"NONE","body":"i try to do example\r\nhttps://redux-form.com/6.4.3/examples/asyncvalidation/\r\n```js\r\nconst isValidEmail = value => {\r\n  const endpoint = process.env.REACT_APP_EMAIL_VALIDATION;\r\n  const url = `${endpoint}&email=${value.currentAddressemail}`;\r\n  return axios.get(url).then(result => {\r\n    const isValid = result.data.format_valid;\r\n    if (isValid === false) {\r\n      const err = {};\r\n      err[\"currentAddress.email\"] = \"That email is taken\";\r\n      throw { ...err };\r\n    }\r\n  });\r\n```\r\nbut if isValid = false asyncValidate does not pass error\r\ni not understand 'why'\r\nhelp me, please\r\n"},"comment":{"url":"https://api.github.com/repos/erikras/redux-form/issues/comments/374062792","html_url":"https://github.com/erikras/redux-form/issues/3924#issuecomment-374062792","issue_url":"https://api.github.com/repos/erikras/redux-form/issues/3924","id":374062792,"user":{"login":"gustavohenke","id":826553,"avatar_url":"https://avatars2.githubusercontent.com/u/826553?v=4","gravatar_id":"","url":"https://api.github.com/users/gustavohenke","html_url":"https://github.com/gustavohenke","followers_url":"https://api.github.com/users/gustavohenke/followers","following_url":"https://api.github.com/users/gustavohenke/following{/other_user}","gists_url":"https://api.github.com/users/gustavohenke/gists{/gist_id}","starred_url":"https://api.github.com/users/gustavohenke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gustavohenke/subscriptions","organizations_url":"https://api.github.com/users/gustavohenke/orgs","repos_url":"https://api.github.com/users/gustavohenke/repos","events_url":"https://api.github.com/users/gustavohenke/events{/privacy}","received_events_url":"https://api.github.com/users/gustavohenke/received_events","type":"User","site_admin":false},"created_at":"2018-03-18T23:00:57Z","updated_at":"2018-03-18T23:00:57Z","author_association":"COLLABORATOR","body":"Hello @NikolaiSemenov, that's not enough code for us to see why it's not working.\r\n\r\nPlease also note that we reserve our GitHub issue tracker for bug reports and feature requests; support requests should be made [on StackOverflow](https://stackoverflow.com/questions/tagged/redux-form), where more people are likely to help (and answers will be more visible).\r\n\r\nThanks for using Redux Form!"}}
{"actor":{"display_login":"gustavohenke"}}