I have updated my code to what is below and im now getting a different error: jquery.min.js:2 GET https://<domain>.kintone.com/k/v1/records.json?app=6&callback=jQuery34107591808757762462_1583879308454&_=1583879308455 net::ERR_ABORTED 520
We tried this. However it came up with the following alarm. It’s a CORS alarm. This is what a application engineer told us to do to avoid said alarm.
Access to XMLHttpRequest at 'https://<domain>.kintone.com/k/v1/records.json?app=6' from origin 'null' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.
The error that you see is most likely caused by the cross-domain restriction. You should execute the API from the server side to avoid the error.
*Sorry couldn't find any helpful site for reference.