Hi, how can I set delay for FileAttachment API call? My build process to github gives this error Too Many Requests (RFC 6585) (HTTP 429)
Br,Juuso
Hi, how can I set delay for FileAttachment API call? My build process to github gives this error Too Many Requests (RFC 6585) (HTTP 429)
Br,Juuso
To set a delay you could wrap in a setTimeout. So
await FileAttachment()
becomes
await new Promise(resolve => {
setTimeout(() => FileAttachment().then(resolve), DELAY_IN_MILLISECONDS);
});
BUT isn’t the problem too many concurrent requests? Could you share a link to your Notebook?