There are 2 issues we are experiencing at the moment.
- Editing the Autotask code using your webpanel and trying to save results in errors:
/#/autotask/*removed/edit-code:1 Access to XMLHttpRequest at 'https: //api.defender.openzeppelin .com/autotasks' from origin 'https:// defender.openzeppelin .com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
trycatch.js:181 PUT https: //api.defender.openzeppelin .com/autotasks net::ERR_FAILED 500
- uploading a new Autotask using the AutoTaskClient
await client.updateCodeFromFolder(faucetAutotaskId, "src");
using a calid autotask id, newly created team api key and secret (or old ones that worked before):
{
response: {
status: 403,
statusText: 'Forbidden',
data: {
message: "'eyJrafV1eBbEw' not a valid key=value pair (missing equal-sign) in Authorization header: 'Bearer eyJraV1eBbEw'."
}
},
message: 'Request failed with status code 403',
request: {
path: '/autotask/autotasks/be8698de***362de',
method: 'PUT'
}
}
So it's now impossible for us to change the working of an autotask, or to create a new one.