Here’s the response when trying to write a story on a task:
‘\n’ +
‘\n’ +
‘ERROR: The request could not be satisfied\n’ +
‘\n’ +
403 ERROR
\n' +The request could not be satisfied.
\n' +\n' + Request blocked.\n' + "We can't connect to the server for this app or website at this time. There might be too much traffic or a configuration error. Try again later, or contact the app or website owner.\n" + '
\n' + 'If you provide content to customers through CloudFront, you can find steps to troubleshoot and help prevent this error by reviewing the CloudFront documentation.\n' + '
\n' + '
\n' + '
\n' + 'Generated by cloudfront (CloudFront)\n' + 'Request ID: Y1V4nt8qsb2EaYzYyf6wF3LkswplyouGD7ugG-EH9kHNTTyQR650NQ==\n' + '\n' + '\n' + '\n' + '' status: 403
This was returned as a result of this request:
Error: Error posting HTML to Asana: AxiosError: Request failed with status code 403
Timestamp: 2025-02-21T17:38:36.882017Z
Function: screenshot
ExecutionId: alw12fge1ij2
Stack trace:
- at settle (/workspace/node_modules/axios/dist/node/axios.cjs:2026:12)
- at IncomingMessage.handleStreamEnd (/workspace/node_modules/axios/dist/node/axios.cjs:3142:11)
- at IncomingMessage.emit (node:events:530:35)
- at IncomingMessage.emit (node:domain:552:15)
- at endReadableNT (node:internal/streams/readable:1698:12)
- at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
- at Axios.request (/workspace/node_modules/axios/dist/node/axios.cjs:4252:41)
- at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
- at async postHTMLToAsana (/workspace/index.js:424:22)
- at async handleDomainSearch (/workspace/index.js:65:5)
- at async exports.screenshot (/workspace/index.js:36:18)
Error details:
- code: ‘ERR_BAD_REQUEST’
- method: ‘post’
- url: ‘https://app.asana.com/api/1.0/tasks/1209043284289034/stories’
- Authorization: 'Bearer 2/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Request payload:
{
“data”: {
“html_text”: "asanabot says:
Keyword | Type | URL | Organic Rank | Local Rank | Absolute Rank |
local seo services | organic | <a href="https://www.sterlingsky.ca/local-seo/\“>https://www.sterlingsky.ca/local-seo/</a></td><td>9</td><td>null</td><td>15</td></tr></table></body>” } } |