Hi Joyce,
I’ve attached screenshots below. (I have to post them 1-by-1 as an error message comes up because I’m a new member. I also edited each link in the text below by removing the “ps” in “https” because it wouldn’t allow this post to have too many links)
I haven’t made any changes to the API end-points in Xano Authentication API group (maybe I should be making changes there?)
Below is the full error message (it’s super long)
name: “AxiosError”
stack: “AxiosError: Request failed with status code 400 at iWe (htt://editor-cdn.weweb.io/assets/index-Vjj6SXa_.js:1262:1094) at XMLHttpRequest.y (htt://editor-cdn.weweb.io/assets/index-Vjj6SXa_.j…”
message: “Request failed with status code 400”
code: “ERR_BAD_REQUEST”
status: 400
config
timeout: 0
xsrfCookieName: “XSRF-TOKEN”
xsrfHeaderName: “X-XSRF-TOKEN”
maxContentLength: -1
maxBodyLength: -1
validateStatus: function(e){return e>=200&&e<300}
method: “post”
data: “{“name”:”“,“email”:”“}”
withCredentials: false
url: “htt://x8ki-letl-twmt.n7.xano.io/api:prYnh__P/auth/signup”
allowAbsoluteUrls: true
transitional
silentJSONParsing: true
forcedJSONParsing: true
clarifyTimeoutError: false
adapter
0: “xhr”
1: “http”
2: “fetch”
transformRequest
0: function(e,t){const n=t.getContentType()||“”,s=n.indexOf(“application/json”)>-1,r=ii.isObject(e);if(r&&ii.isHTMLForm(e)&&(e=new FormData(e)),ii.isFormData(e))return s?JSON.stringify(eWe(e)):e;if(ii.isArrayBuffer(e)||ii.isBuffer(e)||ii.isStream(e)||ii.isFile(e)||ii.isBlob(e)||ii.isReadableStream(e))return e;if(ii.isArrayBufferView(e))return e.buffer;if(ii.isURLSearchParams(e))return t.setContentType(“application/x-www-form-urlencoded;charset=utf-8”,!1),e.toString();let a;if(r){if(n.indexOf(“application/x-www-form-urlencoded”)>-1)return rvt(e,this.formSerializer).toString();if((a=ii.isFileList(e))||n.indexOf(“multipart/form-data”)>-1){const l=this.env&&this.env.FormData;return jZ(a?{“files”:e}:e,l&&new l,this.formSerializer)}}return r||s?(t.setContentType(“application/json”,!1),lvt(e)):e}
transformResponse
0: function(e){const t=this.transitional||UB.transitional,n=t&&t.forcedJSONParsing,s=this.responseType===“json”;if(ii.isResponse(e)||ii.isReadableStream(e))return e;if(e&&ii.isString(e)&&(n&&!this.responseType||s)){const o=!(t&&t.silentJSONParsing)&&s;try{return JSON.parse(e,this.parseReviver)}catch(a){if(o)throw a.name===“SyntaxError”?Vs.from(a,Vs.ERR_BAD_RESPONSE,this,null,this.response):a}}return e}
env
FormData: function FormData() { [native code] }
Blob: function Blob() { [native code] }
headers
Accept: “application/json, text/plain, /”
Content-Type: “application/json”
request
onreadystatechange: null
readyState: 4
timeout: 0
withCredentials: false
responseURL: “htt://x8ki-letl-twmt.n7.xano.io/api:prYnh__P/auth/signup”
status: 400
statusText: “”
responseType: “”
response: “{“code”:“ERROR_CODE_INPUT_ERROR”,“message”:“Missing param: field_value”,“payload”:{“param”:“field_value”}}”
responseText: “{“code”:“ERROR_CODE_INPUT_ERROR”,“message”:“Missing param: field_value”,“payload”:{“param”:“field_value”}}”
UNSENT: 0
OPENED: 1
HEADERS_RECEIVED: 2
LOADING: 3
DONE: 4
abort: function abort() { [native code] }
getAllResponseHeaders: function getAllResponseHeaders() { [native code] }
getResponseHeader: function getResponseHeader() { [native code] }
open: function open() { [native code] }
overrideMimeType: function overrideMimeType() { [native code] }
send: function send() { [native code] }
setRequestHeader: function setRequestHeader() { [native code] }
responseXML: null
setAttributionReporting: function setAttributionReporting() { [native code] }
setPrivateToken: function setPrivateToken() { [native code] }
onloadstart: null
onprogress: null
onabort: function(){m&&(n(new Vs(“Request aborted”,Vs.ECONNABORTED,i,m)),m=null)}
onerror: function(w){const v=w&&w.message?w.message:“Network Error”,S=new Vs(v,Vs.ERR_NETWORK,i,m);S.event=w||null,n(S),m=null}
onload: null
ontimeout: function(){let w=s.timeout?“timeout of “+s.timeout+“ms exceeded”:“timeout exceeded”;const v=s.transitional||JUe;s.timeoutErrorMessage&&(w=s.timeoutErrorMessage),n(new Vs(w,v.clarifyTimeoutError?Vs.ETIMEDOUT:Vs.ECONNABORTED,i,m)),m=null}
onloadend: function y(){if(!m)return;const A=Cf.from(“getAllResponseHeaders"in m&&m.getAllResponseHeaders()),v={data:!a||a===“text”||a===“json”?m.responseText:m.response,status:m.status,statusText:m.statusText,headers:A,config:i,request:m};iWe(function(x){t(x),g()},function(x){n(x),g()},v),m=null}
addEventListener: function addEventListener() { [native code] }
dispatchEvent: function dispatchEvent() { [native code] }
removeEventListener: function removeEventListener() { [native code] }
when: function when() { [native code] }
upload
onloadstart: null
onprogress: null
onabort: null
onerror: null
onload: null
ontimeout: null
onloadend: null
addEventListener: function addEventListener() { [native code] }
dispatchEvent: function dispatchEvent() { [native code] }
removeEventListener: function removeEventListener() { [native code] }
when: function when() { [native code] }
response
status: 400
statusText: “”
data
code: “ERROR_CODE_INPUT_ERROR”
message: “Missing param: field_value”
payload
param: “field_value”
headers
cache-control: “private, no-cache, no-store, must-revalidate”
content-type: “application/json; charset=UTF-8”
expires: “Tue, 05 Apr 2016 00:43:26 GMT”
pragma: “no-cache”
config
timeout: 0
xsrfCookieName: “XSRF-TOKEN”
xsrfHeaderName: “X-XSRF-TOKEN”
maxContentLength: -1
maxBodyLength: -1
validateStatus: function(e){return e>=200&&e<300}
method: “post”
data: “{“name”:””,“email”:””}"
withCredentials: false
url: https:x8ki-letl-twmt.n7.xano.io/api:prYnh__P/auth/signup
allowAbsoluteUrls: true
transitional
silentJSONParsing: true
forcedJSONParsing: true
clarifyTimeoutError: false
adapter
0: “xhr”
1: “http”
2: “fetch”
transformRequest
0: function(e,t){const n=t.getContentType()||“”,s=n.indexOf(“application/json”)>-1,r=ii.isObject(e);if(r&&ii.isHTMLForm(e)&&(e=new FormData(e)),ii.isFormData(e))return s?JSON.stringify(eWe(e)):e;if(ii.isArrayBuffer(e)||ii.isBuffer(e)||ii.isStream(e)||ii.isFile(e)||ii.isBlob(e)||ii.isReadableStream(e))return e;if(ii.isArrayBufferView(e))return e.buffer;if(ii.isURLSearchParams(e))return t.setContentType(“application/x-www-form-urlencoded;charset=utf-8”,!1),e.toString();let a;if(r){if(n.indexOf(“application/x-www-form-urlencoded”)>-1)return rvt(e,this.formSerializer).toString();if((a=ii.isFileList(e))||n.indexOf(“multipart/form-data”)>-1){const l=this.env&&this.env.FormData;return jZ(a?{“files”:e}:e,l&&new l,this.formSerializer)}}return r||s?(t.setContentType(“application/json”,!1),lvt(e)):e}
transformResponse
0: function(e){const t=this.transitional||UB.transitional,n=t&&t.forcedJSONParsing,s=this.responseType===“json”;if(ii.isResponse(e)||ii.isReadableStream(e))return e;if(e&&ii.isString(e)&&(n&&!this.responseType||s)){const o=!(t&&t.silentJSONParsing)&&s;try{return JSON.parse(e,this.parseReviver)}catch(a){if(o)throw a.name===“SyntaxError”?Vs.from(a,Vs.ERR_BAD_RESPONSE,this,null,this.response):a}}return e}
env
FormData: function FormData() { [native code] }
Blob: function Blob() { [native code] }
headers
Accept: “application/json, text/plain, /”
Content-Type: “application/json”
request
onreadystatechange: null
readyState: 4
timeout: 0
withCredentials: false
responseURL: “htt://x8ki-letl-twmt.n7.xano.io/api:prYnh__P/auth/signup”
status: 400
statusText: “”
responseType: “”
response: “{“code”:“ERROR_CODE_INPUT_ERROR”,“message”:“Missing param: field_value”,“payload”:{“param”:“field_value”}}”
responseText: “{“code”:“ERROR_CODE_INPUT_ERROR”,“message”:“Missing param: field_value”,“payload”:{“param”:“field_value”}}”
UNSENT: 0
OPENED: 1
HEADERS_RECEIVED: 2
LOADING: 3
DONE: 4
abort: function abort() { [native code] }
getAllResponseHeaders: function getAllResponseHeaders() { [native code] }
getResponseHeader: function getResponseHeader() { [native code] }
open: function open() { [native code] }
overrideMimeType: function overrideMimeType() { [native code] }
send: function send() { [native code] }
setRequestHeader: function setRequestHeader() { [native code] }
responseXML: null
setAttributionReporting: function setAttributionReporting() { [native code] }
setPrivateToken: function setPrivateToken() { [native code] }
onloadstart: null
onprogress: null
onabort: function(){m&&(n(new Vs(“Request aborted”,Vs.ECONNABORTED,i,m)),m=null)}
onerror: function(w){const v=w&&w.message?w.message:“Network Error”,S=new Vs(v,Vs.ERR_NETWORK,i,m);S.event=w||null,n(S),m=null}
onload: null
ontimeout: function(){let w=s.timeout?"timeout of "+s.timeout+“ms exceeded”:“timeout exceeded”;const v=s.transitional||JUe;s.timeoutErrorMessage&&(w=s.timeoutErrorMessage),n(new Vs(w,v.clarifyTimeoutError?Vs.ETIMEDOUT:Vs.ECONNABORTED,i,m)),m=null}
onloadend: function y(){if(!m)return;const A=Cf.from("getAllResponseHeaders"in m&&m.getAllResponseHeaders()),v={data:!a||a===“text”||a===“json”?m.responseText:m.response,status:m.status,statusText:m.statusText,headers:A,config:i,request:m};iWe(function(x){t(x),g()},function(x){n(x),g()},v),m=null}
addEventListener: function addEventListener() { [native code] }
dispatchEvent: function dispatchEvent() { [native code] }
removeEventListener: function removeEventListener() { [native code] }
when: function when() { [native code] }
upload
onloadstart: null
onprogress: null
onabort: null
onerror: null
onload: null
ontimeout: null
onloadend: null
addEventListener: function addEventListener() { [native code] }
dispatchEvent: function dispatchEvent() { [native code] }
removeEventListener: function removeEventListener() { [native code] }
when: function when() { [native code] }