hcengineering / hcengineering/platform

Check space security unhandled rejection

Open
#6,706 2 comments 0 reactions 1 assignee Claimed by @lexiv0re View on GitHub
Dominant language
TypeScript
Stars
27.7k
Forks
2.2k
PR merge metrics
No merged PRs in 30d

Description

```
This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason:
Error: ERROR: platform:status:Forbidden {}
at _SpacePermissionsMiddleware.throwForbidden (/usr/src/app/bundle.js:323072:15)
at _SpacePermissionsMiddleware.checkPermissions (/usr/src/app/bundle.js:323237:18)
at _SpacePermissionsMiddleware.tx (/usr/src/app/bundle.js:323208:16)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async _SpaceSecurityMiddleware.tx (/usr/src/app/bundle.js:323641:16)
at async _PipelineImpl.tx (/usr/src/app/bundle.js:73099:18)
at async ClientSession2.tx (/usr/src/app/bundle.js:225911:24)
Unhandled Rejection at: Promise {
PlatformError: ERROR: platform:status:Forbidden {}
at _SpacePermissionsMiddleware.throwForbidden (/usr/src/app/bundle.js:323072:15)
at _SpacePermissionsMiddleware.checkPermissions (/usr/src/app/bundle.js:323237:18)
at _SpacePermissionsMiddleware.tx (/usr/src/app/bundle.js:323208:16)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async _SpaceSecurityMiddleware.tx (/usr/src/app/bundle.js:323641:16)
at async _PipelineImpl.tx (/usr/src/app/bundle.js:73099:18)
at async ClientSession2.tx (/usr/src/app/bundle.js:225911:24) {
status: Status {
severity: 'ERROR',
code: 'platform:status:Forbidden',
params: {}
}
}
} reason: PlatformError: ERROR: platform:status:Forbidden {}
at _SpacePermissionsMiddleware.throwForbidden (/usr/src/app/bundle.js:323072:15)
at _SpacePermissionsMiddleware.checkPermissions (/usr/src/app/bundle.js:323237:18)
at _SpacePermissionsMiddleware.tx (/usr/src/app/bundle.js:323208:16)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async _SpaceSecurityMiddleware.tx (/usr/src/app/bundle.js:323641:16)
at async _PipelineImpl.tx (/usr/src/app/bundle.js:73099:18)
at async ClientSession2.tx (/usr/src/app/bundle.js:225911:24) {
status: Status {
severity: 'ERROR',
code: 'platform:status:Forbidden',
params: {}
}
}
```

Huly®: UBERF-8254

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.