Invalid URL error
Invalid URL error on workers when trying to post a data to Amazon S3. Here is my code:
https://github.com/arunvl88/area1-alerts/blob/master/index.js
Here is the error message:
{
"outcome": "exception",
"scriptName": "area1-alerts",
"exceptions": [
{
"name": "TypeError",
"message": "Invalid URL string.",
"timestamp": 1687568434902
}
],
Can someone help?
GitHub
area1-alerts/index.js at master · arunvl88/area1-alerts
Contribute to arunvl88/area1-alerts development by creating an account on GitHub.
2 Replies
Well there's no URL being passed to
awsClient.fetch
https://github.com/mhart/aws4fetch#promiseresponse-awsfetchinput-initThank you. The log stream on worker saying Ok now. However, I don't see any events inserted into S3.
1> What cloud flare worker IP's do I need to allow in order for s3 bucket to accept events?