(Updated: 11th June 2019) This issue has now been resolved:
https://developer.kintone.io/hc/en-us/articles/360000292721
--------------------------------------------------------------------------------------------
After the maintenance on Friday, June 7, we noticed a performance degradation in the Kintone REST API.
Error details
Kintone REST APIs return errors when all of the following conditions are met:
- a request parameter is included that can be specified by either an Integer or a String
- the above request parameter is specified as a string
- the above request parameter is a number starting with a 0
Sample request resulting in an error
The sample below includes a 0 at the beginning of the id parameter, which results in an error:
var body = { "app":"2303","id" : "09"};
kintone.api(kintone.api.url('/k/v1/record', true), 'GET', body);
Reasons for the Error
The maintenance included a library version update that caused numbers specified as strings and starting with a 0 to be recognized differently than usual, causing an error.
How to avoid the errors
Remove the 0 from the beginning of the string, and then specify it in the parameter:
var body = { "app":"2303","id" : "9"};
kintone.api(kintone.api.url('/k/v1/record', true), 'GET', body);
Update plans
We are currently working on fixing this issue, and will post a new notice when the fix has been applied.