You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have array of objects. From which I have one key value pair on which I want to translate it. By calling translate() in loop getting error of Response code 429 (Too Many Requests)
Below is my code:
for(let obj of notifyData) {
translate(obj.body, {from: 'en', to: 'hr'})
.then((response) => {
console.log('tr...', response);
})
.catch((err) => {
console.log('error in translation...',err);
})
}
the function is not event taking first element from the array. i.e. array[0]. By doing this too, I am getting too many requests error..
Please help me out..
The text was updated successfully, but these errors were encountered:
I have array of objects. From which I have one key value pair on which I want to translate it. By calling translate() in loop getting error of Response code 429 (Too Many Requests)
Below is my code:
the function is not event taking first element from the array. i.e. array[0]. By doing this too, I am getting too many requests error..
Please help me out..
The text was updated successfully, but these errors were encountered: