Forum Discussion
There are no such restrictions, you can make any number of ajax call.
On that custom page, you are using a custom component having JS so in JS you can make any no of ajax call it does not depend on that custom page. LMK what you are trying to do so can help you out more.
- Shivshankar8 years agoAce
i have a code where in i am processing bulk ideas , atleast 1000 minimum with updating some comments and changing status of them.
On a certain instance i am getting Error 429
https://httpstatuses.com/429so i am unable to understand what is the cause of this error.
Is it because of too many calls ? . On some other instance i am not facing such issues.
- VikasB8 years agoBoss
I would also suggest you try it with few calls instead of too many calls. It would be great if you can share the code snippets.
As you mentioned that on some other instance, i am not facing such issues. It means the issue is not with multiple calls. You should reach out to support for instance-specific issues.
- Shivshankar8 years agoAce
request_str is string with 1000 ideas comma seperated.
var idArray=request_str.split(',');
var url1=endpointi?request_str="someId"&statusid="StatusId"&post_comment="postComment";
var saveData = $.ajax({
type: 'POST',
dataType: "json",
async:"false",
url: url1,
error: function (jqXHR, exception) {
//some code
},
success: function(resultData) {//somecode
}
});This code is giving error 429