-
Type:
Bug
-
Resolution: Invalid
-
Priority:
Low
-
Component/s: Automation - Help
-
None
-
1
-
Severity 3 - Minor
Issue Summary
Discovered when looking into this support request. A user removed someone from their board and expected that the user's shared automation buttons would be removed from the board as well, but they weren't.
Attempting to manually delete the shared button automations for the user in TRFind, but encountered the error:
Body is unusable: Body has already been read
Steps to Reproduce
- Visit TRFind
- Go to board with shared button automations
- Go to Automations page
- Attempt to delete shared button automations
Expected Results
Deletion should succeed.
Actual Results
The below exception is thrown:
{
"errors": [
{
"message": "Body is unusable: Body has already been read",
"locations": [
{
"line": 2,
"column": 3
}
],
"path": [
"deleteButtonForBoard"
],
"extensions": {
"status": 500,
"code": "INTERNAL_SERVER_ERROR",
"stacktrace": [
"TypeError: Body is unusable: Body has already been read",
" at consumeBody (node:internal/deps/undici/undici:5712:15)",
" at _Response.text (node:internal/deps/undici/undici:5662:18)",
" at ButlerAPIClient._parseErrorResponse (/opt/service/server/src/datasources/clients/butler-api-client.ts:141:34)",
" at ButlerAPIClient.method (/opt/service/server/src/datasources/clients/butler-api-client.ts:59:26)",
" at processTicksAndRejections (node:internal/process/task_queues:105:5)",
" at async Object.exports.deleteButtonForBoard (/opt/service/server/src/graphql/resolvers/mutation/board.ts:10:20)",
" at async /opt/service/server/src/graphql/middleware/analyticsMiddleware.ts:34:27",
" at async logMutationOperationMiddleware (/opt/service/server/src/graphql/middleware/logOperationMiddleware.ts:60:28)"
]
}
}
],
"data": {
"deleteButtonForBoard": null
}
}
Workaround
Currently there is no known workaround for this behavior. A workaround will be added here when available