SENDOTP API ERROR............
AxiosError {message: 'Request failed with status code 404', name: 'AxiosError', code: 'ERR_BAD_REQUEST', config: {…}, request: XMLHttpRequest, …}
code
:
"ERR_BAD_REQUEST"
config
:
adapter
:
(2) ['xhr', 'http']
data
:
"{"email":"[email protected]","checkUserPresent":true}"
env
:
{FormData: ƒ, Blob: ƒ}
headers
:
AxiosHeaders {Content-Type: 'application/json'}
maxBodyLength
:
-1
maxContentLength
:
-1
method
:
"post"
params
:
null
timeout
:
0
transformRequest
:
[ƒ]
transformResponse
:
[ƒ]
transitional
:
{silentJSONParsing: true, forcedJSONParsing: true, clarifyTimeoutError: false}
url
:
"undefined/auth/sendotp"
validateStatus
:
ƒ validateStatus(status)
xsrfCookieName
:
"XSRF-TOKEN"
xsrfHeaderName
:
"X-XSRF-TOKEN"
[[Prototype]]
:
Object
message
:
"Request failed with status code 404"
name
:
"AxiosError"
request
:
XMLHttpRequest {onreadystatechange: null, readyState: 4, timeout: 0, withCredentials: false, upload: XMLHttpRequestUpload, …}
response
:
{data: '\n\n\n<meta char…ST /undefined/auth/sendotp\n\n\n', status: 404, statusText: 'Not Found', headers: AxiosHeaders, config: {…}, …}
stack
:
"AxiosError: Request failed with status code 404\n at settle (http://localhost:3000/static/js/bundle.js:474243:12)\n at XMLHttpRequest.onloadend (http://localhost:3000/static/js/bundle.js:472903:66)\n at Axios.request (http://localhost:3000/static/js/bundle.js:473404:41)\n at async http://localhost:3000/static/js/bundle.js:17931:24"
[[Prototype]]
:
Error