Skip to content

fix: full image urls stored in DB #24609

fix: full image urls stored in DB

fix: full image urls stored in DB #24609

Triggered via pull request January 8, 2026 18:43
Status Failure
Total duration 26m 47s
Artifacts 10

main.yml

on: pull_request
Matrix: build-and-test-templates
Matrix: tests-e2e
Matrix: tests-int
tests-unit
49s
tests-unit
tests-types
1m 12s
tests-types
tests-type-generation
34s
tests-type-generation
Matrix: tests-e2e-turbo
All Green
2s
All Green
Publish Canary
Publish Canary
Fit to window
Zoom out
Zoom in

Annotations

111 errors
[int] test/uploads/int.spec.ts > Collections - Uploads > Local API > filters > should block or filter uploading from 'media' with URL: 'http://0.0.0.0/file.png': test/uploads/int.spec.ts#L914
AssertionError: expected error to match asymmetric matcher - Expected + Received - ObjectContaining { - "message": StringContaining "unsafe", + FileRetrievalError { + "message": "There was a problem while uploading the file. ENOENT: no such file or directory, open '/home/runner/work/payload/payload/test/uploads/media/test.png'", + "cause": null, + "data": null, + "isOperational": true, + "isPublic": false, + "status": 500, "name": "FileRetrievalError", } ❯ test/uploads/int.spec.ts:914:11
[int] test/uploads/int.spec.ts > Collections - Uploads > Local API > filters > should block or filter uploading from 'media' with URL: 'http://224.0.0.1/file.png': test/uploads/int.spec.ts#L914
AssertionError: expected error to match asymmetric matcher - Expected + Received - ObjectContaining { - "message": StringContaining "unsafe", + FileRetrievalError { + "message": "There was a problem while uploading the file. ENOENT: no such file or directory, stat '/home/runner/work/payload/payload/test/uploads/media/test.png'", + "cause": null, + "data": null, + "isOperational": true, + "isPublic": false, + "status": 500, "name": "FileRetrievalError", } ❯ test/uploads/int.spec.ts:914:11
[int] test/uploads/int.spec.ts > Collections - Uploads > Local API > filters > should block or filter uploading from 'media' with URL: 'http://169.254.1.1/file.png': test/uploads/int.spec.ts#L914
AssertionError: expected error to match asymmetric matcher - Expected + Received - ObjectContaining { - "message": StringContaining "unsafe", + FileRetrievalError { + "message": "There was a problem while uploading the file. ENOENT: no such file or directory, open '/home/runner/work/payload/payload/test/uploads/media/test.png'", + "cause": null, + "data": null, + "isOperational": true, + "isPublic": false, + "status": 500, "name": "FileRetrievalError", } ❯ test/uploads/int.spec.ts:914:11
[int] test/uploads/int.spec.ts > Collections - Uploads > Local API > filters > should block or filter uploading from 'media' with URL: 'http://172.16.0.1/file.png': test/uploads/int.spec.ts#L914
AssertionError: expected error to match asymmetric matcher - Expected + Received - ObjectContaining { - "message": StringContaining "unsafe", + FileRetrievalError { + "message": "There was a problem while uploading the file. ENOENT: no such file or directory, open '/home/runner/work/payload/payload/test/uploads/media/test.png'", + "cause": null, + "data": null, + "isOperational": true, + "isPublic": false, + "status": 500, "name": "FileRetrievalError", } ❯ test/uploads/int.spec.ts:914:11
[int] test/uploads/int.spec.ts > Collections - Uploads > Local API > filters > should block or filter uploading from 'media' with URL: 'http://192.168.1.1/file.png': test/uploads/int.spec.ts#L914
AssertionError: expected error to match asymmetric matcher - Expected + Received - ObjectContaining { - "message": StringContaining "unsafe", + FileRetrievalError { + "message": "There was a problem while uploading the file. ENOENT: no such file or directory, open '/home/runner/work/payload/payload/test/uploads/media/test.png'", + "cause": null, + "data": null, + "isOperational": true, + "isPublic": false, + "status": 500, "name": "FileRetrievalError", } ❯ test/uploads/int.spec.ts:914:11
[int] test/uploads/int.spec.ts > Collections - Uploads > Local API > filters > should block or filter uploading from 'media' with URL: 'http://10.0.0.1/file.png': test/uploads/int.spec.ts#L914
AssertionError: expected error to match asymmetric matcher - Expected + Received - ObjectContaining { - "message": StringContaining "unsafe", + FileRetrievalError { + "message": "There was a problem while uploading the file. ENOENT: no such file or directory, open '/home/runner/work/payload/payload/test/uploads/media/test.png'", + "cause": null, + "data": null, + "isOperational": true, + "isPublic": false, + "status": 500, "name": "FileRetrievalError", } ❯ test/uploads/int.spec.ts:914:11
[int] test/uploads/int.spec.ts > Collections - Uploads > Local API > filters > should block or filter uploading from 'media' with URL: 'http://[::1]/file.png': test/uploads/int.spec.ts#L914
AssertionError: expected error to match asymmetric matcher - Expected + Received - ObjectContaining { - "message": StringContaining "unsafe", + FileRetrievalError { + "message": "There was a problem while uploading the file. ENOENT: no such file or directory, open '/home/runner/work/payload/payload/test/uploads/media/test.png'", + "cause": null, + "data": null, + "isOperational": true, + "isPublic": false, + "status": 500, "name": "FileRetrievalError", } ❯ test/uploads/int.spec.ts:914:11
[int] test/uploads/int.spec.ts > Collections - Uploads > Local API > filters > should block or filter uploading from 'media' with URL: 'http://127.0.0.1/file.png': test/uploads/int.spec.ts#L914
AssertionError: expected error to match asymmetric matcher - Expected + Received - ObjectContaining { - "message": StringContaining "unsafe", + FileRetrievalError { + "message": "There was a problem while uploading the file. ENOENT: no such file or directory, open '/home/runner/work/payload/payload/test/uploads/media/test.png'", + "cause": null, + "data": null, + "isOperational": true, + "isPublic": false, + "status": 500, "name": "FileRetrievalError", } ❯ test/uploads/int.spec.ts:914:11
[int] test/uploads/int.spec.ts > Collections - Uploads > Local API > cookie filtering > should keep all cookies when externalFileHeaderFilter is defined: packages/payload/src/uploads/generateFileData.ts#L144
FileRetrievalError: There was a problem while uploading the file. ENOENT: no such file or directory, stat '/home/runner/work/payload/payload/test/uploads/media/fat-head-nate.png' ❯ generateFileData packages/payload/src/uploads/generateFileData.ts:144:13 ❯ createOperation packages/payload/src/collections/operations/create.ts:149:57 ❯ test/uploads/int.spec.ts:848:9 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { data: null, isOperational: true, isPublic: false, status: 500 }
[int] test/uploads/int.spec.ts > Collections - Uploads > Local API > cookie filtering > should filter out payload cookies when externalFileHeaderFilter is not defined: packages/payload/src/uploads/generateFileData.ts#L144
FileRetrievalError: There was a problem while uploading the file. ENOENT: no such file or directory, open '/home/runner/work/payload/payload/test/uploads/media/fat-head-nate.png' ❯ generateFileData packages/payload/src/uploads/generateFileData.ts:144:13 ❯ createOperation packages/payload/src/collections/operations/create.ts:149:57 ❯ test/uploads/int.spec.ts:774:9 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { data: null, isOperational: true, isPublic: false, status: 500 }
[int] test/uploads/int.spec.ts > Collections - Uploads > Local API > filters > should block or filter uploading from 'media' with URL: 'http://0.0.0.0/file.png': test/uploads/int.spec.ts#L914
AssertionError: expected error to match asymmetric matcher - Expected + Received - ObjectContaining { - "message": StringContaining "unsafe", + FileRetrievalError { + "message": "There was a problem while uploading the file. ENOENT: no such file or directory, open '/home/runner/work/payload/payload/test/uploads/media/test.png'", + "cause": null, + "data": null, + "isOperational": true, + "isPublic": false, + "status": 500, "name": "FileRetrievalError", } ❯ test/uploads/int.spec.ts:914:11
[int] test/uploads/int.spec.ts > Collections - Uploads > Local API > filters > should block or filter uploading from 'media' with URL: 'http://224.0.0.1/file.png': test/uploads/int.spec.ts#L914
AssertionError: expected error to match asymmetric matcher - Expected + Received - ObjectContaining { - "message": StringContaining "unsafe", + FileRetrievalError { + "message": "There was a problem while uploading the file. ENOENT: no such file or directory, open '/home/runner/work/payload/payload/test/uploads/media/test.png'", + "cause": null, + "data": null, + "isOperational": true, + "isPublic": false, + "status": 500, "name": "FileRetrievalError", } ❯ test/uploads/int.spec.ts:914:11
[int] test/uploads/int.spec.ts > Collections - Uploads > Local API > filters > should block or filter uploading from 'media' with URL: 'http://169.254.1.1/file.png': test/uploads/int.spec.ts#L914
AssertionError: expected error to match asymmetric matcher - Expected + Received - ObjectContaining { - "message": StringContaining "unsafe", + FileRetrievalError { + "message": "There was a problem while uploading the file. ENOENT: no such file or directory, stat '/home/runner/work/payload/payload/test/uploads/media/test.png'", + "cause": null, + "data": null, + "isOperational": true, + "isPublic": false, + "status": 500, "name": "FileRetrievalError", } ❯ test/uploads/int.spec.ts:914:11
[int] test/uploads/int.spec.ts > Collections - Uploads > Local API > filters > should block or filter uploading from 'media' with URL: 'http://172.16.0.1/file.png': test/uploads/int.spec.ts#L914
AssertionError: expected error to match asymmetric matcher - Expected + Received - ObjectContaining { - "message": StringContaining "unsafe", + FileRetrievalError { + "message": "There was a problem while uploading the file. ENOENT: no such file or directory, open '/home/runner/work/payload/payload/test/uploads/media/test.png'", + "cause": null, + "data": null, + "isOperational": true, + "isPublic": false, + "status": 500, "name": "FileRetrievalError", } ❯ test/uploads/int.spec.ts:914:11
[int] test/uploads/int.spec.ts > Collections - Uploads > Local API > filters > should block or filter uploading from 'media' with URL: 'http://192.168.1.1/file.png': test/uploads/int.spec.ts#L914
AssertionError: expected error to match asymmetric matcher - Expected + Received - ObjectContaining { - "message": StringContaining "unsafe", + FileRetrievalError { + "message": "There was a problem while uploading the file. ENOENT: no such file or directory, open '/home/runner/work/payload/payload/test/uploads/media/test.png'", + "cause": null, + "data": null, + "isOperational": true, + "isPublic": false, + "status": 500, "name": "FileRetrievalError", } ❯ test/uploads/int.spec.ts:914:11
[int] test/uploads/int.spec.ts > Collections - Uploads > Local API > filters > should block or filter uploading from 'media' with URL: 'http://10.0.0.1/file.png': test/uploads/int.spec.ts#L914
AssertionError: expected error to match asymmetric matcher - Expected + Received - ObjectContaining { - "message": StringContaining "unsafe", + FileRetrievalError { + "message": "There was a problem while uploading the file. ENOENT: no such file or directory, open '/home/runner/work/payload/payload/test/uploads/media/test.png'", + "cause": null, + "data": null, + "isOperational": true, + "isPublic": false, + "status": 500, "name": "FileRetrievalError", } ❯ test/uploads/int.spec.ts:914:11
[int] test/uploads/int.spec.ts > Collections - Uploads > Local API > filters > should block or filter uploading from 'media' with URL: 'http://[::1]/file.png': test/uploads/int.spec.ts#L914
AssertionError: expected error to match asymmetric matcher - Expected + Received - ObjectContaining { - "message": StringContaining "unsafe", + FileRetrievalError { + "message": "There was a problem while uploading the file. ENOENT: no such file or directory, open '/home/runner/work/payload/payload/test/uploads/media/test.png'", + "cause": null, + "data": null, + "isOperational": true, + "isPublic": false, + "status": 500, "name": "FileRetrievalError", } ❯ test/uploads/int.spec.ts:914:11
[int] test/uploads/int.spec.ts > Collections - Uploads > Local API > filters > should block or filter uploading from 'media' with URL: 'http://127.0.0.1/file.png': test/uploads/int.spec.ts#L914
AssertionError: expected error to match asymmetric matcher - Expected + Received - ObjectContaining { - "message": StringContaining "unsafe", + FileRetrievalError { + "message": "There was a problem while uploading the file. ENOENT: no such file or directory, open '/home/runner/work/payload/payload/test/uploads/media/test.png'", + "cause": null, + "data": null, + "isOperational": true, + "isPublic": false, + "status": 500, "name": "FileRetrievalError", } ❯ test/uploads/int.spec.ts:914:11
[int] test/uploads/int.spec.ts > Collections - Uploads > Local API > cookie filtering > should keep all cookies when externalFileHeaderFilter is defined: packages/payload/src/uploads/generateFileData.ts#L144
FileRetrievalError: There was a problem while uploading the file. ENOENT: no such file or directory, open '/home/runner/work/payload/payload/test/uploads/media/fat-head-nate.png' ❯ generateFileData packages/payload/src/uploads/generateFileData.ts:144:13 ❯ createOperation packages/payload/src/collections/operations/create.ts:149:57 ❯ test/uploads/int.spec.ts:848:9 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { data: null, isOperational: true, isPublic: false, status: 500 }
[int] test/uploads/int.spec.ts > Collections - Uploads > Local API > cookie filtering > should filter out payload cookies when externalFileHeaderFilter is not defined: packages/payload/src/uploads/generateFileData.ts#L144
FileRetrievalError: There was a problem while uploading the file. ENOENT: no such file or directory, open '/home/runner/work/payload/payload/test/uploads/media/fat-head-nate.png' ❯ generateFileData packages/payload/src/uploads/generateFileData.ts:144:13 ❯ createOperation packages/payload/src/collections/operations/create.ts:149:57 ❯ test/uploads/int.spec.ts:774:9 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { data: null, isOperational: true, isPublic: false, status: 500 }
[int] test/uploads/int.spec.ts > Collections - Uploads > Local API > filters > should block or filter uploading from 'media' with URL: 'http://0.0.0.0/file.png': test/uploads/int.spec.ts#L914
AssertionError: expected error to match asymmetric matcher - Expected + Received - ObjectContaining { - "message": StringContaining "unsafe", + FileRetrievalError { + "message": "There was a problem while uploading the file. ENOENT: no such file or directory, open '/home/runner/work/payload/payload/test/uploads/media/test.png'", + "cause": null, + "data": null, + "isOperational": true, + "isPublic": false, + "status": 500, "name": "FileRetrievalError", } ❯ test/uploads/int.spec.ts:914:11
[int] test/uploads/int.spec.ts > Collections - Uploads > Local API > filters > should block or filter uploading from 'media' with URL: 'http://224.0.0.1/file.png': test/uploads/int.spec.ts#L914
AssertionError: expected error to match asymmetric matcher - Expected + Received - ObjectContaining { - "message": StringContaining "unsafe", + FileRetrievalError { + "message": "There was a problem while uploading the file. ENOENT: no such file or directory, open '/home/runner/work/payload/payload/test/uploads/media/test.png'", + "cause": null, + "data": null, + "isOperational": true, + "isPublic": false, + "status": 500, "name": "FileRetrievalError", } ❯ test/uploads/int.spec.ts:914:11
[int] test/uploads/int.spec.ts > Collections - Uploads > Local API > filters > should block or filter uploading from 'media' with URL: 'http://169.254.1.1/file.png': test/uploads/int.spec.ts#L914
AssertionError: expected error to match asymmetric matcher - Expected + Received - ObjectContaining { - "message": StringContaining "unsafe", + FileRetrievalError { + "message": "There was a problem while uploading the file. ENOENT: no such file or directory, open '/home/runner/work/payload/payload/test/uploads/media/test.png'", + "cause": null, + "data": null, + "isOperational": true, + "isPublic": false, + "status": 500, "name": "FileRetrievalError", } ❯ test/uploads/int.spec.ts:914:11
[int] test/uploads/int.spec.ts > Collections - Uploads > Local API > filters > should block or filter uploading from 'media' with URL: 'http://172.16.0.1/file.png': test/uploads/int.spec.ts#L914
AssertionError: expected error to match asymmetric matcher - Expected + Received - ObjectContaining { - "message": StringContaining "unsafe", + FileRetrievalError { + "message": "There was a problem while uploading the file. ENOENT: no such file or directory, open '/home/runner/work/payload/payload/test/uploads/media/test.png'", + "cause": null, + "data": null, + "isOperational": true, + "isPublic": false, + "status": 500, "name": "FileRetrievalError", } ❯ test/uploads/int.spec.ts:914:11
[int] test/uploads/int.spec.ts > Collections - Uploads > Local API > filters > should block or filter uploading from 'media' with URL: 'http://192.168.1.1/file.png': test/uploads/int.spec.ts#L914
AssertionError: expected error to match asymmetric matcher - Expected + Received - ObjectContaining { - "message": StringContaining "unsafe", + FileRetrievalError { + "message": "There was a problem while uploading the file. ENOENT: no such file or directory, open '/home/runner/work/payload/payload/test/uploads/media/test.png'", + "cause": null, + "data": null, + "isOperational": true, + "isPublic": false, + "status": 500, "name": "FileRetrievalError", } ❯ test/uploads/int.spec.ts:914:11
[int] test/uploads/int.spec.ts > Collections - Uploads > Local API > filters > should block or filter uploading from 'media' with URL: 'http://10.0.0.1/file.png': test/uploads/int.spec.ts#L914
AssertionError: expected error to match asymmetric matcher - Expected + Received - ObjectContaining { - "message": StringContaining "unsafe", + FileRetrievalError { + "message": "There was a problem while uploading the file. ENOENT: no such file or directory, open '/home/runner/work/payload/payload/test/uploads/media/test.png'", + "cause": null, + "data": null, + "isOperational": true, + "isPublic": false, + "status": 500, "name": "FileRetrievalError", } ❯ test/uploads/int.spec.ts:914:11
[int] test/uploads/int.spec.ts > Collections - Uploads > Local API > filters > should block or filter uploading from 'media' with URL: 'http://[::1]/file.png': test/uploads/int.spec.ts#L914
AssertionError: expected error to match asymmetric matcher - Expected + Received - ObjectContaining { - "message": StringContaining "unsafe", + FileRetrievalError { + "message": "There was a problem while uploading the file. ENOENT: no such file or directory, open '/home/runner/work/payload/payload/test/uploads/media/test.png'", + "cause": null, + "data": null, + "isOperational": true, + "isPublic": false, + "status": 500, "name": "FileRetrievalError", } ❯ test/uploads/int.spec.ts:914:11
[int] test/uploads/int.spec.ts > Collections - Uploads > Local API > filters > should block or filter uploading from 'media' with URL: 'http://127.0.0.1/file.png': test/uploads/int.spec.ts#L914
AssertionError: expected error to match asymmetric matcher - Expected + Received - ObjectContaining { - "message": StringContaining "unsafe", + FileRetrievalError { + "message": "There was a problem while uploading the file. ENOENT: no such file or directory, open '/home/runner/work/payload/payload/test/uploads/media/test.png'", + "cause": null, + "data": null, + "isOperational": true, + "isPublic": false, + "status": 500, "name": "FileRetrievalError", } ❯ test/uploads/int.spec.ts:914:11
[int] test/uploads/int.spec.ts > Collections - Uploads > Local API > cookie filtering > should keep all cookies when externalFileHeaderFilter is defined: packages/payload/src/uploads/generateFileData.ts#L144
FileRetrievalError: There was a problem while uploading the file. ENOENT: no such file or directory, open '/home/runner/work/payload/payload/test/uploads/media/fat-head-nate.png' ❯ generateFileData packages/payload/src/uploads/generateFileData.ts:144:13 ❯ createOperation packages/payload/src/collections/operations/create.ts:149:57 ❯ test/uploads/int.spec.ts:848:9 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { data: null, isOperational: true, isPublic: false, status: 500 }
[int] test/uploads/int.spec.ts > Collections - Uploads > Local API > cookie filtering > should filter out payload cookies when externalFileHeaderFilter is not defined: packages/payload/src/uploads/generateFileData.ts#L144
FileRetrievalError: There was a problem while uploading the file. ENOENT: no such file or directory, open '/home/runner/work/payload/payload/test/uploads/media/fat-head-nate.png' ❯ generateFileData packages/payload/src/uploads/generateFileData.ts:144:13 ❯ createOperation packages/payload/src/collections/operations/create.ts:149:57 ❯ test/uploads/int.spec.ts:774:9 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { data: null, isOperational: true, isPublic: false, status: 500 }
[int] test/uploads/int.spec.ts > Collections - Uploads > Local API > filters > should block or filter uploading from 'media' with URL: 'http://0.0.0.0/file.png': test/uploads/int.spec.ts#L914
AssertionError: expected error to match asymmetric matcher - Expected + Received - ObjectContaining { - "message": StringContaining "unsafe", + FileRetrievalError { + "message": "There was a problem while uploading the file. ENOENT: no such file or directory, stat '/home/runner/work/payload/payload/test/uploads/media/test.png'", + "cause": null, + "data": null, + "isOperational": true, + "isPublic": false, + "status": 500, "name": "FileRetrievalError", } ❯ test/uploads/int.spec.ts:914:11
[int] test/uploads/int.spec.ts > Collections - Uploads > Local API > filters > should block or filter uploading from 'media' with URL: 'http://224.0.0.1/file.png': test/uploads/int.spec.ts#L914
AssertionError: expected error to match asymmetric matcher - Expected + Received - ObjectContaining { - "message": StringContaining "unsafe", + FileRetrievalError { + "message": "There was a problem while uploading the file. ENOENT: no such file or directory, open '/home/runner/work/payload/payload/test/uploads/media/test.png'", + "cause": null, + "data": null, + "isOperational": true, + "isPublic": false, + "status": 500, "name": "FileRetrievalError", } ❯ test/uploads/int.spec.ts:914:11
[int] test/uploads/int.spec.ts > Collections - Uploads > Local API > filters > should block or filter uploading from 'media' with URL: 'http://169.254.1.1/file.png': test/uploads/int.spec.ts#L914
AssertionError: expected error to match asymmetric matcher - Expected + Received - ObjectContaining { - "message": StringContaining "unsafe", + FileRetrievalError { + "message": "There was a problem while uploading the file. ENOENT: no such file or directory, open '/home/runner/work/payload/payload/test/uploads/media/test.png'", + "cause": null, + "data": null, + "isOperational": true, + "isPublic": false, + "status": 500, "name": "FileRetrievalError", } ❯ test/uploads/int.spec.ts:914:11
[int] test/uploads/int.spec.ts > Collections - Uploads > Local API > filters > should block or filter uploading from 'media' with URL: 'http://172.16.0.1/file.png': test/uploads/int.spec.ts#L914
AssertionError: expected error to match asymmetric matcher - Expected + Received - ObjectContaining { - "message": StringContaining "unsafe", + FileRetrievalError { + "message": "There was a problem while uploading the file. ENOENT: no such file or directory, open '/home/runner/work/payload/payload/test/uploads/media/test.png'", + "cause": null, + "data": null, + "isOperational": true, + "isPublic": false, + "status": 500, "name": "FileRetrievalError", } ❯ test/uploads/int.spec.ts:914:11
[int] test/uploads/int.spec.ts > Collections - Uploads > Local API > filters > should block or filter uploading from 'media' with URL: 'http://192.168.1.1/file.png': test/uploads/int.spec.ts#L914
AssertionError: expected error to match asymmetric matcher - Expected + Received - ObjectContaining { - "message": StringContaining "unsafe", + FileRetrievalError { + "message": "There was a problem while uploading the file. ENOENT: no such file or directory, stat '/home/runner/work/payload/payload/test/uploads/media/test.png'", + "cause": null, + "data": null, + "isOperational": true, + "isPublic": false, + "status": 500, "name": "FileRetrievalError", } ❯ test/uploads/int.spec.ts:914:11
[int] test/uploads/int.spec.ts > Collections - Uploads > Local API > filters > should block or filter uploading from 'media' with URL: 'http://10.0.0.1/file.png': test/uploads/int.spec.ts#L914
AssertionError: expected error to match asymmetric matcher - Expected + Received - ObjectContaining { - "message": StringContaining "unsafe", + FileRetrievalError { + "message": "There was a problem while uploading the file. ENOENT: no such file or directory, stat '/home/runner/work/payload/payload/test/uploads/media/test.png'", + "cause": null, + "data": null, + "isOperational": true, + "isPublic": false, + "status": 500, "name": "FileRetrievalError", } ❯ test/uploads/int.spec.ts:914:11
[int] test/uploads/int.spec.ts > Collections - Uploads > Local API > filters > should block or filter uploading from 'media' with URL: 'http://[::1]/file.png': test/uploads/int.spec.ts#L914
AssertionError: expected error to match asymmetric matcher - Expected + Received - ObjectContaining { - "message": StringContaining "unsafe", + FileRetrievalError { + "message": "There was a problem while uploading the file. ENOENT: no such file or directory, open '/home/runner/work/payload/payload/test/uploads/media/test.png'", + "cause": null, + "data": null, + "isOperational": true, + "isPublic": false, + "status": 500, "name": "FileRetrievalError", } ❯ test/uploads/int.spec.ts:914:11
[int] test/uploads/int.spec.ts > Collections - Uploads > Local API > filters > should block or filter uploading from 'media' with URL: 'http://127.0.0.1/file.png': test/uploads/int.spec.ts#L914
AssertionError: expected error to match asymmetric matcher - Expected + Received - ObjectContaining { - "message": StringContaining "unsafe", + FileRetrievalError { + "message": "There was a problem while uploading the file. ENOENT: no such file or directory, open '/home/runner/work/payload/payload/test/uploads/media/test.png'", + "cause": null, + "data": null, + "isOperational": true, + "isPublic": false, + "status": 500, "name": "FileRetrievalError", } ❯ test/uploads/int.spec.ts:914:11
[int] test/uploads/int.spec.ts > Collections - Uploads > Local API > cookie filtering > should keep all cookies when externalFileHeaderFilter is defined: packages/payload/src/uploads/generateFileData.ts#L144
FileRetrievalError: There was a problem while uploading the file. ENOENT: no such file or directory, open '/home/runner/work/payload/payload/test/uploads/media/fat-head-nate.png' ❯ generateFileData packages/payload/src/uploads/generateFileData.ts:144:13 ❯ createOperation packages/payload/src/collections/operations/create.ts:149:57 ❯ test/uploads/int.spec.ts:848:9 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { data: null, isOperational: true, isPublic: false, status: 500 }
[int] test/uploads/int.spec.ts > Collections - Uploads > Local API > cookie filtering > should filter out payload cookies when externalFileHeaderFilter is not defined: packages/payload/src/uploads/generateFileData.ts#L144
FileRetrievalError: There was a problem while uploading the file. ENOENT: no such file or directory, stat '/home/runner/work/payload/payload/test/uploads/media/fat-head-nate.png' ❯ generateFileData packages/payload/src/uploads/generateFileData.ts:144:13 ❯ createOperation packages/payload/src/collections/operations/create.ts:149:57 ❯ test/uploads/int.spec.ts:774:9 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { data: null, isOperational: true, isPublic: false, status: 500 }
[int] test/uploads/int.spec.ts > Collections - Uploads > Local API > filters > should block or filter uploading from 'media' with URL: 'http://0.0.0.0/file.png': test/uploads/int.spec.ts#L914
AssertionError: expected error to match asymmetric matcher - Expected + Received - ObjectContaining { - "message": StringContaining "unsafe", + FileRetrievalError { + "message": "There was a problem while uploading the file. ENOENT: no such file or directory, open '/home/runner/work/payload/payload/test/uploads/media/test.png'", + "cause": null, + "data": null, + "isOperational": true, + "isPublic": false, + "status": 500, "name": "FileRetrievalError", } ❯ test/uploads/int.spec.ts:914:11
[int] test/uploads/int.spec.ts > Collections - Uploads > Local API > filters > should block or filter uploading from 'media' with URL: 'http://224.0.0.1/file.png': test/uploads/int.spec.ts#L914
AssertionError: expected error to match asymmetric matcher - Expected + Received - ObjectContaining { - "message": StringContaining "unsafe", + FileRetrievalError { + "message": "There was a problem while uploading the file. ENOENT: no such file or directory, open '/home/runner/work/payload/payload/test/uploads/media/test.png'", + "cause": null, + "data": null, + "isOperational": true, + "isPublic": false, + "status": 500, "name": "FileRetrievalError", } ❯ test/uploads/int.spec.ts:914:11
[int] test/uploads/int.spec.ts > Collections - Uploads > Local API > filters > should block or filter uploading from 'media' with URL: 'http://169.254.1.1/file.png': test/uploads/int.spec.ts#L914
AssertionError: expected error to match asymmetric matcher - Expected + Received - ObjectContaining { - "message": StringContaining "unsafe", + FileRetrievalError { + "message": "There was a problem while uploading the file. ENOENT: no such file or directory, open '/home/runner/work/payload/payload/test/uploads/media/test.png'", + "cause": null, + "data": null, + "isOperational": true, + "isPublic": false, + "status": 500, "name": "FileRetrievalError", } ❯ test/uploads/int.spec.ts:914:11
[int] test/uploads/int.spec.ts > Collections - Uploads > Local API > filters > should block or filter uploading from 'media' with URL: 'http://172.16.0.1/file.png': test/uploads/int.spec.ts#L914
AssertionError: expected error to match asymmetric matcher - Expected + Received - ObjectContaining { - "message": StringContaining "unsafe", + FileRetrievalError { + "message": "There was a problem while uploading the file. ENOENT: no such file or directory, open '/home/runner/work/payload/payload/test/uploads/media/test.png'", + "cause": null, + "data": null, + "isOperational": true, + "isPublic": false, + "status": 500, "name": "FileRetrievalError", } ❯ test/uploads/int.spec.ts:914:11
[int] test/uploads/int.spec.ts > Collections - Uploads > Local API > filters > should block or filter uploading from 'media' with URL: 'http://192.168.1.1/file.png': test/uploads/int.spec.ts#L914
AssertionError: expected error to match asymmetric matcher - Expected + Received - ObjectContaining { - "message": StringContaining "unsafe", + FileRetrievalError { + "message": "There was a problem while uploading the file. ENOENT: no such file or directory, open '/home/runner/work/payload/payload/test/uploads/media/test.png'", + "cause": null, + "data": null, + "isOperational": true, + "isPublic": false, + "status": 500, "name": "FileRetrievalError", } ❯ test/uploads/int.spec.ts:914:11
[int] test/uploads/int.spec.ts > Collections - Uploads > Local API > filters > should block or filter uploading from 'media' with URL: 'http://10.0.0.1/file.png': test/uploads/int.spec.ts#L914
AssertionError: expected error to match asymmetric matcher - Expected + Received - ObjectContaining { - "message": StringContaining "unsafe", + FileRetrievalError { + "message": "There was a problem while uploading the file. ENOENT: no such file or directory, open '/home/runner/work/payload/payload/test/uploads/media/test.png'", + "cause": null, + "data": null, + "isOperational": true, + "isPublic": false, + "status": 500, "name": "FileRetrievalError", } ❯ test/uploads/int.spec.ts:914:11
[int] test/uploads/int.spec.ts > Collections - Uploads > Local API > filters > should block or filter uploading from 'media' with URL: 'http://[::1]/file.png': test/uploads/int.spec.ts#L914
AssertionError: expected error to match asymmetric matcher - Expected + Received - ObjectContaining { - "message": StringContaining "unsafe", + FileRetrievalError { + "message": "There was a problem while uploading the file. ENOENT: no such file or directory, open '/home/runner/work/payload/payload/test/uploads/media/test.png'", + "cause": null, + "data": null, + "isOperational": true, + "isPublic": false, + "status": 500, "name": "FileRetrievalError", } ❯ test/uploads/int.spec.ts:914:11
[int] test/uploads/int.spec.ts > Collections - Uploads > Local API > filters > should block or filter uploading from 'media' with URL: 'http://127.0.0.1/file.png': test/uploads/int.spec.ts#L914
AssertionError: expected error to match asymmetric matcher - Expected + Received - ObjectContaining { - "message": StringContaining "unsafe", + FileRetrievalError { + "message": "There was a problem while uploading the file. ENOENT: no such file or directory, open '/home/runner/work/payload/payload/test/uploads/media/test.png'", + "cause": null, + "data": null, + "isOperational": true, + "isPublic": false, + "status": 500, "name": "FileRetrievalError", } ❯ test/uploads/int.spec.ts:914:11
[int] test/uploads/int.spec.ts > Collections - Uploads > Local API > cookie filtering > should keep all cookies when externalFileHeaderFilter is defined: packages/payload/src/uploads/generateFileData.ts#L144
FileRetrievalError: There was a problem while uploading the file. ENOENT: no such file or directory, open '/home/runner/work/payload/payload/test/uploads/media/fat-head-nate.png' ❯ generateFileData packages/payload/src/uploads/generateFileData.ts:144:13 ❯ createOperation packages/payload/src/collections/operations/create.ts:149:57 ❯ test/uploads/int.spec.ts:848:9 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { data: null, isOperational: true, isPublic: false, status: 500 }
[int] test/uploads/int.spec.ts > Collections - Uploads > Local API > cookie filtering > should filter out payload cookies when externalFileHeaderFilter is not defined: packages/payload/src/uploads/generateFileData.ts#L144
FileRetrievalError: There was a problem while uploading the file. ENOENT: no such file or directory, open '/home/runner/work/payload/payload/test/uploads/media/fat-head-nate.png' ❯ generateFileData packages/payload/src/uploads/generateFileData.ts:144:13 ❯ createOperation packages/payload/src/collections/operations/create.ts:149:57 ❯ test/uploads/int.spec.ts:774:9 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { data: null, isOperational: true, isPublic: false, status: 500 }
[int] test/uploads/int.spec.ts > Collections - Uploads > Local API > filters > should block or filter uploading from 'media' with URL: 'http://0.0.0.0/file.png': test/uploads/int.spec.ts#L914
AssertionError: expected error to match asymmetric matcher - Expected + Received - ObjectContaining { - "message": StringContaining "unsafe", + FileRetrievalError { + "message": "There was a problem while uploading the file. ENOENT: no such file or directory, stat '/home/runner/work/payload/payload/test/uploads/media/test.png'", + "cause": null, + "data": null, + "isOperational": true, + "isPublic": false, + "status": 500, "name": "FileRetrievalError", } ❯ test/uploads/int.spec.ts:914:11
[int] test/uploads/int.spec.ts > Collections - Uploads > Local API > filters > should block or filter uploading from 'media' with URL: 'http://224.0.0.1/file.png': test/uploads/int.spec.ts#L914
AssertionError: expected error to match asymmetric matcher - Expected + Received - ObjectContaining { - "message": StringContaining "unsafe", + FileRetrievalError { + "message": "There was a problem while uploading the file. ENOENT: no such file or directory, open '/home/runner/work/payload/payload/test/uploads/media/test.png'", + "cause": null, + "data": null, + "isOperational": true, + "isPublic": false, + "status": 500, "name": "FileRetrievalError", } ❯ test/uploads/int.spec.ts:914:11
[int] test/uploads/int.spec.ts > Collections - Uploads > Local API > filters > should block or filter uploading from 'media' with URL: 'http://169.254.1.1/file.png': test/uploads/int.spec.ts#L914
AssertionError: expected error to match asymmetric matcher - Expected + Received - ObjectContaining { - "message": StringContaining "unsafe", + FileRetrievalError { + "message": "There was a problem while uploading the file. ENOENT: no such file or directory, open '/home/runner/work/payload/payload/test/uploads/media/test.png'", + "cause": null, + "data": null, + "isOperational": true, + "isPublic": false, + "status": 500, "name": "FileRetrievalError", } ❯ test/uploads/int.spec.ts:914:11
[int] test/uploads/int.spec.ts > Collections - Uploads > Local API > filters > should block or filter uploading from 'media' with URL: 'http://172.16.0.1/file.png': test/uploads/int.spec.ts#L914
AssertionError: expected error to match asymmetric matcher - Expected + Received - ObjectContaining { - "message": StringContaining "unsafe", + FileRetrievalError { + "message": "There was a problem while uploading the file. ENOENT: no such file or directory, stat '/home/runner/work/payload/payload/test/uploads/media/test.png'", + "cause": null, + "data": null, + "isOperational": true, + "isPublic": false, + "status": 500, "name": "FileRetrievalError", } ❯ test/uploads/int.spec.ts:914:11
[int] test/uploads/int.spec.ts > Collections - Uploads > Local API > filters > should block or filter uploading from 'media' with URL: 'http://192.168.1.1/file.png': test/uploads/int.spec.ts#L914
AssertionError: expected error to match asymmetric matcher - Expected + Received - ObjectContaining { - "message": StringContaining "unsafe", + FileRetrievalError { + "message": "There was a problem while uploading the file. ENOENT: no such file or directory, stat '/home/runner/work/payload/payload/test/uploads/media/test.png'", + "cause": null, + "data": null, + "isOperational": true, + "isPublic": false, + "status": 500, "name": "FileRetrievalError", } ❯ test/uploads/int.spec.ts:914:11
[int] test/uploads/int.spec.ts > Collections - Uploads > Local API > filters > should block or filter uploading from 'media' with URL: 'http://10.0.0.1/file.png': test/uploads/int.spec.ts#L914
AssertionError: expected error to match asymmetric matcher - Expected + Received - ObjectContaining { - "message": StringContaining "unsafe", + FileRetrievalError { + "message": "There was a problem while uploading the file. ENOENT: no such file or directory, stat '/home/runner/work/payload/payload/test/uploads/media/test.png'", + "cause": null, + "data": null, + "isOperational": true, + "isPublic": false, + "status": 500, "name": "FileRetrievalError", } ❯ test/uploads/int.spec.ts:914:11
[int] test/uploads/int.spec.ts > Collections - Uploads > Local API > filters > should block or filter uploading from 'media' with URL: 'http://[::1]/file.png': test/uploads/int.spec.ts#L914
AssertionError: expected error to match asymmetric matcher - Expected + Received - ObjectContaining { - "message": StringContaining "unsafe", + FileRetrievalError { + "message": "There was a problem while uploading the file. ENOENT: no such file or directory, open '/home/runner/work/payload/payload/test/uploads/media/test.png'", + "cause": null, + "data": null, + "isOperational": true, + "isPublic": false, + "status": 500, "name": "FileRetrievalError", } ❯ test/uploads/int.spec.ts:914:11
[int] test/uploads/int.spec.ts > Collections - Uploads > Local API > filters > should block or filter uploading from 'media' with URL: 'http://127.0.0.1/file.png': test/uploads/int.spec.ts#L914
AssertionError: expected error to match asymmetric matcher - Expected + Received - ObjectContaining { - "message": StringContaining "unsafe", + FileRetrievalError { + "message": "There was a problem while uploading the file. ENOENT: no such file or directory, open '/home/runner/work/payload/payload/test/uploads/media/test.png'", + "cause": null, + "data": null, + "isOperational": true, + "isPublic": false, + "status": 500, "name": "FileRetrievalError", } ❯ test/uploads/int.spec.ts:914:11
[int] test/uploads/int.spec.ts > Collections - Uploads > Local API > cookie filtering > should keep all cookies when externalFileHeaderFilter is defined: packages/payload/src/uploads/generateFileData.ts#L144
FileRetrievalError: There was a problem while uploading the file. ENOENT: no such file or directory, open '/home/runner/work/payload/payload/test/uploads/media/fat-head-nate.png' ❯ generateFileData packages/payload/src/uploads/generateFileData.ts:144:13 ❯ createOperation packages/payload/src/collections/operations/create.ts:149:57 ❯ test/uploads/int.spec.ts:848:9 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { data: null, isOperational: true, isPublic: false, status: 500 }
[int] test/uploads/int.spec.ts > Collections - Uploads > Local API > cookie filtering > should filter out payload cookies when externalFileHeaderFilter is not defined: packages/payload/src/uploads/generateFileData.ts#L144
FileRetrievalError: There was a problem while uploading the file. ENOENT: no such file or directory, open '/home/runner/work/payload/payload/test/uploads/media/fat-head-nate.png' ❯ generateFileData packages/payload/src/uploads/generateFileData.ts:144:13 ❯ createOperation packages/payload/src/collections/operations/create.ts:149:57 ❯ test/uploads/int.spec.ts:774:9 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { data: null, isOperational: true, isPublic: false, status: 500 }
[int] test/uploads/int.spec.ts > Collections - Uploads > Local API > filters > should block or filter uploading from 'media' with URL: 'http://0.0.0.0/file.png': test/uploads/int.spec.ts#L914
AssertionError: expected error to match asymmetric matcher - Expected + Received - ObjectContaining { - "message": StringContaining "unsafe", + FileRetrievalError { + "message": "There was a problem while uploading the file. ENOENT: no such file or directory, open '/home/runner/work/payload/payload/test/uploads/media/test.png'", + "cause": null, + "data": null, + "isOperational": true, + "isPublic": false, + "status": 500, "name": "FileRetrievalError", } ❯ test/uploads/int.spec.ts:914:11
[int] test/uploads/int.spec.ts > Collections - Uploads > Local API > filters > should block or filter uploading from 'media' with URL: 'http://224.0.0.1/file.png': test/uploads/int.spec.ts#L914
AssertionError: expected error to match asymmetric matcher - Expected + Received - ObjectContaining { - "message": StringContaining "unsafe", + FileRetrievalError { + "message": "There was a problem while uploading the file. ENOENT: no such file or directory, open '/home/runner/work/payload/payload/test/uploads/media/test.png'", + "cause": null, + "data": null, + "isOperational": true, + "isPublic": false, + "status": 500, "name": "FileRetrievalError", } ❯ test/uploads/int.spec.ts:914:11
[int] test/uploads/int.spec.ts > Collections - Uploads > Local API > filters > should block or filter uploading from 'media' with URL: 'http://169.254.1.1/file.png': test/uploads/int.spec.ts#L914
AssertionError: expected error to match asymmetric matcher - Expected + Received - ObjectContaining { - "message": StringContaining "unsafe", + FileRetrievalError { + "message": "There was a problem while uploading the file. ENOENT: no such file or directory, open '/home/runner/work/payload/payload/test/uploads/media/test.png'", + "cause": null, + "data": null, + "isOperational": true, + "isPublic": false, + "status": 500, "name": "FileRetrievalError", } ❯ test/uploads/int.spec.ts:914:11
[int] test/uploads/int.spec.ts > Collections - Uploads > Local API > filters > should block or filter uploading from 'media' with URL: 'http://172.16.0.1/file.png': test/uploads/int.spec.ts#L914
AssertionError: expected error to match asymmetric matcher - Expected + Received - ObjectContaining { - "message": StringContaining "unsafe", + FileRetrievalError { + "message": "There was a problem while uploading the file. ENOENT: no such file or directory, stat '/home/runner/work/payload/payload/test/uploads/media/test.png'", + "cause": null, + "data": null, + "isOperational": true, + "isPublic": false, + "status": 500, "name": "FileRetrievalError", } ❯ test/uploads/int.spec.ts:914:11
[int] test/uploads/int.spec.ts > Collections - Uploads > Local API > filters > should block or filter uploading from 'media' with URL: 'http://192.168.1.1/file.png': test/uploads/int.spec.ts#L914
AssertionError: expected error to match asymmetric matcher - Expected + Received - ObjectContaining { - "message": StringContaining "unsafe", + FileRetrievalError { + "message": "There was a problem while uploading the file. ENOENT: no such file or directory, open '/home/runner/work/payload/payload/test/uploads/media/test.png'", + "cause": null, + "data": null, + "isOperational": true, + "isPublic": false, + "status": 500, "name": "FileRetrievalError", } ❯ test/uploads/int.spec.ts:914:11
[int] test/uploads/int.spec.ts > Collections - Uploads > Local API > filters > should block or filter uploading from 'media' with URL: 'http://10.0.0.1/file.png': test/uploads/int.spec.ts#L914
AssertionError: expected error to match asymmetric matcher - Expected + Received - ObjectContaining { - "message": StringContaining "unsafe", + FileRetrievalError { + "message": "There was a problem while uploading the file. ENOENT: no such file or directory, open '/home/runner/work/payload/payload/test/uploads/media/test.png'", + "cause": null, + "data": null, + "isOperational": true, + "isPublic": false, + "status": 500, "name": "FileRetrievalError", } ❯ test/uploads/int.spec.ts:914:11
[int] test/uploads/int.spec.ts > Collections - Uploads > Local API > filters > should block or filter uploading from 'media' with URL: 'http://[::1]/file.png': test/uploads/int.spec.ts#L914
AssertionError: expected error to match asymmetric matcher - Expected + Received - ObjectContaining { - "message": StringContaining "unsafe", + FileRetrievalError { + "message": "There was a problem while uploading the file. ENOENT: no such file or directory, open '/home/runner/work/payload/payload/test/uploads/media/test.png'", + "cause": null, + "data": null, + "isOperational": true, + "isPublic": false, + "status": 500, "name": "FileRetrievalError", } ❯ test/uploads/int.spec.ts:914:11
[int] test/uploads/int.spec.ts > Collections - Uploads > Local API > filters > should block or filter uploading from 'media' with URL: 'http://127.0.0.1/file.png': test/uploads/int.spec.ts#L914
AssertionError: expected error to match asymmetric matcher - Expected + Received - ObjectContaining { - "message": StringContaining "unsafe", + FileRetrievalError { + "message": "There was a problem while uploading the file. ENOENT: no such file or directory, open '/home/runner/work/payload/payload/test/uploads/media/test.png'", + "cause": null, + "data": null, + "isOperational": true, + "isPublic": false, + "status": 500, "name": "FileRetrievalError", } ❯ test/uploads/int.spec.ts:914:11
[int] test/uploads/int.spec.ts > Collections - Uploads > Local API > cookie filtering > should keep all cookies when externalFileHeaderFilter is defined: packages/payload/src/uploads/generateFileData.ts#L144
FileRetrievalError: There was a problem while uploading the file. ENOENT: no such file or directory, open '/home/runner/work/payload/payload/test/uploads/media/fat-head-nate.png' ❯ generateFileData packages/payload/src/uploads/generateFileData.ts:144:13 ❯ createOperation packages/payload/src/collections/operations/create.ts:149:57 ❯ test/uploads/int.spec.ts:848:9 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { data: null, isOperational: true, isPublic: false, status: 500 }
[int] test/uploads/int.spec.ts > Collections - Uploads > Local API > cookie filtering > should filter out payload cookies when externalFileHeaderFilter is not defined: packages/payload/src/uploads/generateFileData.ts#L144
FileRetrievalError: There was a problem while uploading the file. ENOENT: no such file or directory, stat '/home/runner/work/payload/payload/test/uploads/media/fat-head-nate.png' ❯ generateFileData packages/payload/src/uploads/generateFileData.ts:144:13 ❯ createOperation packages/payload/src/collections/operations/create.ts:149:57 ❯ test/uploads/int.spec.ts:774:9 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { data: null, isOperational: true, isPublic: false, status: 500 }
[int] test/uploads/int.spec.ts > Collections - Uploads > Local API > filters > should block or filter uploading from 'media' with URL: 'http://0.0.0.0/file.png': test/uploads/int.spec.ts#L914
AssertionError: expected error to match asymmetric matcher - Expected + Received - ObjectContaining { - "message": StringContaining "unsafe", + FileRetrievalError { + "message": "There was a problem while uploading the file. ENOENT: no such file or directory, open '/home/runner/work/payload/payload/test/uploads/media/test.png'", + "cause": null, + "data": null, + "isOperational": true, + "isPublic": false, + "status": 500, "name": "FileRetrievalError", } ❯ test/uploads/int.spec.ts:914:11
[int] test/uploads/int.spec.ts > Collections - Uploads > Local API > filters > should block or filter uploading from 'media' with URL: 'http://224.0.0.1/file.png': test/uploads/int.spec.ts#L914
AssertionError: expected error to match asymmetric matcher - Expected + Received - ObjectContaining { - "message": StringContaining "unsafe", + FileRetrievalError { + "message": "There was a problem while uploading the file. ENOENT: no such file or directory, open '/home/runner/work/payload/payload/test/uploads/media/test.png'", + "cause": null, + "data": null, + "isOperational": true, + "isPublic": false, + "status": 500, "name": "FileRetrievalError", } ❯ test/uploads/int.spec.ts:914:11
[int] test/uploads/int.spec.ts > Collections - Uploads > Local API > filters > should block or filter uploading from 'media' with URL: 'http://169.254.1.1/file.png': test/uploads/int.spec.ts#L914
AssertionError: expected error to match asymmetric matcher - Expected + Received - ObjectContaining { - "message": StringContaining "unsafe", + FileRetrievalError { + "message": "There was a problem while uploading the file. ENOENT: no such file or directory, open '/home/runner/work/payload/payload/test/uploads/media/test.png'", + "cause": null, + "data": null, + "isOperational": true, + "isPublic": false, + "status": 500, "name": "FileRetrievalError", } ❯ test/uploads/int.spec.ts:914:11
[int] test/uploads/int.spec.ts > Collections - Uploads > Local API > filters > should block or filter uploading from 'media' with URL: 'http://172.16.0.1/file.png': test/uploads/int.spec.ts#L914
AssertionError: expected error to match asymmetric matcher - Expected + Received - ObjectContaining { - "message": StringContaining "unsafe", + FileRetrievalError { + "message": "There was a problem while uploading the file. ENOENT: no such file or directory, open '/home/runner/work/payload/payload/test/uploads/media/test.png'", + "cause": null, + "data": null, + "isOperational": true, + "isPublic": false, + "status": 500, "name": "FileRetrievalError", } ❯ test/uploads/int.spec.ts:914:11
[int] test/uploads/int.spec.ts > Collections - Uploads > Local API > filters > should block or filter uploading from 'media' with URL: 'http://192.168.1.1/file.png': test/uploads/int.spec.ts#L914
AssertionError: expected error to match asymmetric matcher - Expected + Received - ObjectContaining { - "message": StringContaining "unsafe", + FileRetrievalError { + "message": "There was a problem while uploading the file. ENOENT: no such file or directory, open '/home/runner/work/payload/payload/test/uploads/media/test.png'", + "cause": null, + "data": null, + "isOperational": true, + "isPublic": false, + "status": 500, "name": "FileRetrievalError", } ❯ test/uploads/int.spec.ts:914:11
[int] test/uploads/int.spec.ts > Collections - Uploads > Local API > filters > should block or filter uploading from 'media' with URL: 'http://10.0.0.1/file.png': test/uploads/int.spec.ts#L914
AssertionError: expected error to match asymmetric matcher - Expected + Received - ObjectContaining { - "message": StringContaining "unsafe", + FileRetrievalError { + "message": "There was a problem while uploading the file. ENOENT: no such file or directory, open '/home/runner/work/payload/payload/test/uploads/media/test.png'", + "cause": null, + "data": null, + "isOperational": true, + "isPublic": false, + "status": 500, "name": "FileRetrievalError", } ❯ test/uploads/int.spec.ts:914:11
[int] test/uploads/int.spec.ts > Collections - Uploads > Local API > filters > should block or filter uploading from 'media' with URL: 'http://[::1]/file.png': test/uploads/int.spec.ts#L914
AssertionError: expected error to match asymmetric matcher - Expected + Received - ObjectContaining { - "message": StringContaining "unsafe", + FileRetrievalError { + "message": "There was a problem while uploading the file. ENOENT: no such file or directory, stat '/home/runner/work/payload/payload/test/uploads/media/test.png'", + "cause": null, + "data": null, + "isOperational": true, + "isPublic": false, + "status": 500, "name": "FileRetrievalError", } ❯ test/uploads/int.spec.ts:914:11
[int] test/uploads/int.spec.ts > Collections - Uploads > Local API > filters > should block or filter uploading from 'media' with URL: 'http://127.0.0.1/file.png': test/uploads/int.spec.ts#L914
AssertionError: expected error to match asymmetric matcher - Expected + Received - ObjectContaining { - "message": StringContaining "unsafe", + FileRetrievalError { + "message": "There was a problem while uploading the file. ENOENT: no such file or directory, open '/home/runner/work/payload/payload/test/uploads/media/test.png'", + "cause": null, + "data": null, + "isOperational": true, + "isPublic": false, + "status": 500, "name": "FileRetrievalError", } ❯ test/uploads/int.spec.ts:914:11
[int] test/uploads/int.spec.ts > Collections - Uploads > Local API > cookie filtering > should keep all cookies when externalFileHeaderFilter is defined: packages/payload/src/uploads/generateFileData.ts#L144
FileRetrievalError: There was a problem while uploading the file. ENOENT: no such file or directory, open '/home/runner/work/payload/payload/test/uploads/media/fat-head-nate.png' ❯ generateFileData packages/payload/src/uploads/generateFileData.ts:144:13 ❯ createOperation packages/payload/src/collections/operations/create.ts:149:57 ❯ test/uploads/int.spec.ts:848:9 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { data: null, isOperational: true, isPublic: false, status: 500 }
[int] test/uploads/int.spec.ts > Collections - Uploads > Local API > cookie filtering > should filter out payload cookies when externalFileHeaderFilter is not defined: packages/payload/src/uploads/generateFileData.ts#L144
FileRetrievalError: There was a problem while uploading the file. ENOENT: no such file or directory, open '/home/runner/work/payload/payload/test/uploads/media/fat-head-nate.png' ❯ generateFileData packages/payload/src/uploads/generateFileData.ts:144:13 ❯ createOperation packages/payload/src/collections/operations/create.ts:149:57 ❯ test/uploads/int.spec.ts:774:9 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { data: null, isOperational: true, isPublic: false, status: 500 }
[int] test/uploads/int.spec.ts > Collections - Uploads > Local API > filters > should block or filter uploading from 'media' with URL: 'http://0.0.0.0/file.png': test/uploads/int.spec.ts#L914
AssertionError: expected error to match asymmetric matcher - Expected + Received - ObjectContaining { - "message": StringContaining "unsafe", + FileRetrievalError { + "message": "There was a problem while uploading the file. ENOENT: no such file or directory, open '/home/runner/work/payload/payload/test/uploads/media/test.png'", + "cause": null, + "data": null, + "isOperational": true, + "isPublic": false, + "status": 500, "name": "FileRetrievalError", } ❯ test/uploads/int.spec.ts:914:11
[int] test/uploads/int.spec.ts > Collections - Uploads > Local API > filters > should block or filter uploading from 'media' with URL: 'http://224.0.0.1/file.png': test/uploads/int.spec.ts#L914
AssertionError: expected error to match asymmetric matcher - Expected + Received - ObjectContaining { - "message": StringContaining "unsafe", + FileRetrievalError { + "message": "There was a problem while uploading the file. ENOENT: no such file or directory, open '/home/runner/work/payload/payload/test/uploads/media/test.png'", + "cause": null, + "data": null, + "isOperational": true, + "isPublic": false, + "status": 500, "name": "FileRetrievalError", } ❯ test/uploads/int.spec.ts:914:11
[int] test/uploads/int.spec.ts > Collections - Uploads > Local API > filters > should block or filter uploading from 'media' with URL: 'http://169.254.1.1/file.png': test/uploads/int.spec.ts#L914
AssertionError: expected error to match asymmetric matcher - Expected + Received - ObjectContaining { - "message": StringContaining "unsafe", + FileRetrievalError { + "message": "There was a problem while uploading the file. ENOENT: no such file or directory, open '/home/runner/work/payload/payload/test/uploads/media/test.png'", + "cause": null, + "data": null, + "isOperational": true, + "isPublic": false, + "status": 500, "name": "FileRetrievalError", } ❯ test/uploads/int.spec.ts:914:11
[int] test/uploads/int.spec.ts > Collections - Uploads > Local API > filters > should block or filter uploading from 'media' with URL: 'http://172.16.0.1/file.png': test/uploads/int.spec.ts#L914
AssertionError: expected error to match asymmetric matcher - Expected + Received - ObjectContaining { - "message": StringContaining "unsafe", + FileRetrievalError { + "message": "There was a problem while uploading the file. ENOENT: no such file or directory, stat '/home/runner/work/payload/payload/test/uploads/media/test.png'", + "cause": null, + "data": null, + "isOperational": true, + "isPublic": false, + "status": 500, "name": "FileRetrievalError", } ❯ test/uploads/int.spec.ts:914:11
[int] test/uploads/int.spec.ts > Collections - Uploads > Local API > filters > should block or filter uploading from 'media' with URL: 'http://192.168.1.1/file.png': test/uploads/int.spec.ts#L914
AssertionError: expected error to match asymmetric matcher - Expected + Received - ObjectContaining { - "message": StringContaining "unsafe", + FileRetrievalError { + "message": "There was a problem while uploading the file. ENOENT: no such file or directory, open '/home/runner/work/payload/payload/test/uploads/media/test.png'", + "cause": null, + "data": null, + "isOperational": true, + "isPublic": false, + "status": 500, "name": "FileRetrievalError", } ❯ test/uploads/int.spec.ts:914:11
[int] test/uploads/int.spec.ts > Collections - Uploads > Local API > filters > should block or filter uploading from 'media' with URL: 'http://10.0.0.1/file.png': test/uploads/int.spec.ts#L914
AssertionError: expected error to match asymmetric matcher - Expected + Received - ObjectContaining { - "message": StringContaining "unsafe", + FileRetrievalError { + "message": "There was a problem while uploading the file. ENOENT: no such file or directory, open '/home/runner/work/payload/payload/test/uploads/media/test.png'", + "cause": null, + "data": null, + "isOperational": true, + "isPublic": false, + "status": 500, "name": "FileRetrievalError", } ❯ test/uploads/int.spec.ts:914:11
[int] test/uploads/int.spec.ts > Collections - Uploads > Local API > filters > should block or filter uploading from 'media' with URL: 'http://[::1]/file.png': test/uploads/int.spec.ts#L914
AssertionError: expected error to match asymmetric matcher - Expected + Received - ObjectContaining { - "message": StringContaining "unsafe", + FileRetrievalError { + "message": "There was a problem while uploading the file. ENOENT: no such file or directory, open '/home/runner/work/payload/payload/test/uploads/media/test.png'", + "cause": null, + "data": null, + "isOperational": true, + "isPublic": false, + "status": 500, "name": "FileRetrievalError", } ❯ test/uploads/int.spec.ts:914:11
[int] test/uploads/int.spec.ts > Collections - Uploads > Local API > filters > should block or filter uploading from 'media' with URL: 'http://127.0.0.1/file.png': test/uploads/int.spec.ts#L914
AssertionError: expected error to match asymmetric matcher - Expected + Received - ObjectContaining { - "message": StringContaining "unsafe", + FileRetrievalError { + "message": "There was a problem while uploading the file. ENOENT: no such file or directory, open '/home/runner/work/payload/payload/test/uploads/media/test.png'", + "cause": null, + "data": null, + "isOperational": true, + "isPublic": false, + "status": 500, "name": "FileRetrievalError", } ❯ test/uploads/int.spec.ts:914:11
[int] test/uploads/int.spec.ts > Collections - Uploads > Local API > cookie filtering > should keep all cookies when externalFileHeaderFilter is defined: packages/payload/src/uploads/generateFileData.ts#L144
FileRetrievalError: There was a problem while uploading the file. ENOENT: no such file or directory, open '/home/runner/work/payload/payload/test/uploads/media/fat-head-nate.png' ❯ generateFileData packages/payload/src/uploads/generateFileData.ts:144:13 ❯ createOperation packages/payload/src/collections/operations/create.ts:149:57 ❯ test/uploads/int.spec.ts:848:9 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { data: null, isOperational: true, isPublic: false, status: 500 }
[int] test/uploads/int.spec.ts > Collections - Uploads > Local API > cookie filtering > should filter out payload cookies when externalFileHeaderFilter is not defined: packages/payload/src/uploads/generateFileData.ts#L144
FileRetrievalError: There was a problem while uploading the file. ENOENT: no such file or directory, open '/home/runner/work/payload/payload/test/uploads/media/fat-head-nate.png' ❯ generateFileData packages/payload/src/uploads/generateFileData.ts:144:13 ❯ createOperation packages/payload/src/collections/operations/create.ts:149:57 ❯ test/uploads/int.spec.ts:774:9 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { data: null, isOperational: true, isPublic: false, status: 500 }
[int] test/uploads/int.spec.ts > Collections - Uploads > Local API > filters > should block or filter uploading from 'media' with URL: 'http://0.0.0.0/file.png': test/uploads/int.spec.ts#L914
AssertionError: expected error to match asymmetric matcher - Expected + Received - ObjectContaining { - "message": StringContaining "unsafe", + FileRetrievalError { + "message": "There was a problem while uploading the file. ENOENT: no such file or directory, stat '/home/runner/work/payload/payload/test/uploads/media/test.png'", + "cause": null, + "data": null, + "isOperational": true, + "isPublic": false, + "status": 500, "name": "FileRetrievalError", } ❯ test/uploads/int.spec.ts:914:11
[int] test/uploads/int.spec.ts > Collections - Uploads > Local API > filters > should block or filter uploading from 'media' with URL: 'http://224.0.0.1/file.png': test/uploads/int.spec.ts#L914
AssertionError: expected error to match asymmetric matcher - Expected + Received - ObjectContaining { - "message": StringContaining "unsafe", + FileRetrievalError { + "message": "There was a problem while uploading the file. ENOENT: no such file or directory, open '/home/runner/work/payload/payload/test/uploads/media/test.png'", + "cause": null, + "data": null, + "isOperational": true, + "isPublic": false, + "status": 500, "name": "FileRetrievalError", } ❯ test/uploads/int.spec.ts:914:11
[int] test/uploads/int.spec.ts > Collections - Uploads > Local API > filters > should block or filter uploading from 'media' with URL: 'http://169.254.1.1/file.png': test/uploads/int.spec.ts#L914
AssertionError: expected error to match asymmetric matcher - Expected + Received - ObjectContaining { - "message": StringContaining "unsafe", + FileRetrievalError { + "message": "There was a problem while uploading the file. ENOENT: no such file or directory, open '/home/runner/work/payload/payload/test/uploads/media/test.png'", + "cause": null, + "data": null, + "isOperational": true, + "isPublic": false, + "status": 500, "name": "FileRetrievalError", } ❯ test/uploads/int.spec.ts:914:11
[int] test/uploads/int.spec.ts > Collections - Uploads > Local API > filters > should block or filter uploading from 'media' with URL: 'http://172.16.0.1/file.png': test/uploads/int.spec.ts#L914
AssertionError: expected error to match asymmetric matcher - Expected + Received - ObjectContaining { - "message": StringContaining "unsafe", + FileRetrievalError { + "message": "There was a problem while uploading the file. ENOENT: no such file or directory, open '/home/runner/work/payload/payload/test/uploads/media/test.png'", + "cause": null, + "data": null, + "isOperational": true, + "isPublic": false, + "status": 500, "name": "FileRetrievalError", } ❯ test/uploads/int.spec.ts:914:11
[int] test/uploads/int.spec.ts > Collections - Uploads > Local API > filters > should block or filter uploading from 'media' with URL: 'http://192.168.1.1/file.png': test/uploads/int.spec.ts#L914
AssertionError: expected error to match asymmetric matcher - Expected + Received - ObjectContaining { - "message": StringContaining "unsafe", + FileRetrievalError { + "message": "There was a problem while uploading the file. ENOENT: no such file or directory, open '/home/runner/work/payload/payload/test/uploads/media/test.png'", + "cause": null, + "data": null, + "isOperational": true, + "isPublic": false, + "status": 500, "name": "FileRetrievalError", } ❯ test/uploads/int.spec.ts:914:11
[int] test/uploads/int.spec.ts > Collections - Uploads > Local API > filters > should block or filter uploading from 'media' with URL: 'http://10.0.0.1/file.png': test/uploads/int.spec.ts#L914
AssertionError: expected error to match asymmetric matcher - Expected + Received - ObjectContaining { - "message": StringContaining "unsafe", + FileRetrievalError { + "message": "There was a problem while uploading the file. ENOENT: no such file or directory, open '/home/runner/work/payload/payload/test/uploads/media/test.png'", + "cause": null, + "data": null, + "isOperational": true, + "isPublic": false, + "status": 500, "name": "FileRetrievalError", } ❯ test/uploads/int.spec.ts:914:11
[int] test/uploads/int.spec.ts > Collections - Uploads > Local API > filters > should block or filter uploading from 'media' with URL: 'http://[::1]/file.png': test/uploads/int.spec.ts#L914
AssertionError: expected error to match asymmetric matcher - Expected + Received - ObjectContaining { - "message": StringContaining "unsafe", + FileRetrievalError { + "message": "There was a problem while uploading the file. ENOENT: no such file or directory, open '/home/runner/work/payload/payload/test/uploads/media/test.png'", + "cause": null, + "data": null, + "isOperational": true, + "isPublic": false, + "status": 500, "name": "FileRetrievalError", } ❯ test/uploads/int.spec.ts:914:11
[int] test/uploads/int.spec.ts > Collections - Uploads > Local API > filters > should block or filter uploading from 'media' with URL: 'http://127.0.0.1/file.png': test/uploads/int.spec.ts#L914
AssertionError: expected error to match asymmetric matcher - Expected + Received - ObjectContaining { - "message": StringContaining "unsafe", + FileRetrievalError { + "message": "There was a problem while uploading the file. ENOENT: no such file or directory, open '/home/runner/work/payload/payload/test/uploads/media/test.png'", + "cause": null, + "data": null, + "isOperational": true, + "isPublic": false, + "status": 500, "name": "FileRetrievalError", } ❯ test/uploads/int.spec.ts:914:11
[int] test/uploads/int.spec.ts > Collections - Uploads > Local API > cookie filtering > should keep all cookies when externalFileHeaderFilter is defined: packages/payload/src/uploads/generateFileData.ts#L144
FileRetrievalError: There was a problem while uploading the file. ENOENT: no such file or directory, open '/home/runner/work/payload/payload/test/uploads/media/fat-head-nate.png' ❯ generateFileData packages/payload/src/uploads/generateFileData.ts:144:13 ❯ createOperation packages/payload/src/collections/operations/create.ts:149:57 ❯ test/uploads/int.spec.ts:848:9 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { data: null, isOperational: true, isPublic: false, status: 500 }
[int] test/uploads/int.spec.ts > Collections - Uploads > Local API > cookie filtering > should filter out payload cookies when externalFileHeaderFilter is not defined: packages/payload/src/uploads/generateFileData.ts#L144
FileRetrievalError: There was a problem while uploading the file. ENOENT: no such file or directory, open '/home/runner/work/payload/payload/test/uploads/media/fat-head-nate.png' ❯ generateFileData packages/payload/src/uploads/generateFileData.ts:144:13 ❯ createOperation packages/payload/src/collections/operations/create.ts:149:57 ❯ test/uploads/int.spec.ts:774:9 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { data: null, isOperational: true, isPublic: false, status: 500 }
[int] test/uploads/int.spec.ts > Collections - Uploads > Local API > filters > should block or filter uploading from 'media' with URL: 'http://0.0.0.0/file.png': test/uploads/int.spec.ts#L914
AssertionError: expected error to match asymmetric matcher - Expected + Received - ObjectContaining { - "message": StringContaining "unsafe", + FileRetrievalError { + "message": "There was a problem while uploading the file. ENOENT: no such file or directory, open '/home/runner/work/payload/payload/test/uploads/media/test.png'", + "cause": null, + "data": null, + "isOperational": true, + "isPublic": false, + "status": 500, "name": "FileRetrievalError", } ❯ test/uploads/int.spec.ts:914:11
[int] test/uploads/int.spec.ts > Collections - Uploads > Local API > filters > should block or filter uploading from 'media' with URL: 'http://224.0.0.1/file.png': test/uploads/int.spec.ts#L914
AssertionError: expected error to match asymmetric matcher - Expected + Received - ObjectContaining { - "message": StringContaining "unsafe", + FileRetrievalError { + "message": "There was a problem while uploading the file. ENOENT: no such file or directory, open '/home/runner/work/payload/payload/test/uploads/media/test.png'", + "cause": null, + "data": null, + "isOperational": true, + "isPublic": false, + "status": 500, "name": "FileRetrievalError", } ❯ test/uploads/int.spec.ts:914:11
[int] test/uploads/int.spec.ts > Collections - Uploads > Local API > filters > should block or filter uploading from 'media' with URL: 'http://169.254.1.1/file.png': test/uploads/int.spec.ts#L914
AssertionError: expected error to match asymmetric matcher - Expected + Received - ObjectContaining { - "message": StringContaining "unsafe", + FileRetrievalError { + "message": "There was a problem while uploading the file. ENOENT: no such file or directory, stat '/home/runner/work/payload/payload/test/uploads/media/test.png'", + "cause": null, + "data": null, + "isOperational": true, + "isPublic": false, + "status": 500, "name": "FileRetrievalError", } ❯ test/uploads/int.spec.ts:914:11
[int] test/uploads/int.spec.ts > Collections - Uploads > Local API > filters > should block or filter uploading from 'media' with URL: 'http://172.16.0.1/file.png': test/uploads/int.spec.ts#L914
AssertionError: expected error to match asymmetric matcher - Expected + Received - ObjectContaining { - "message": StringContaining "unsafe", + FileRetrievalError { + "message": "There was a problem while uploading the file. ENOENT: no such file or directory, open '/home/runner/work/payload/payload/test/uploads/media/test.png'", + "cause": null, + "data": null, + "isOperational": true, + "isPublic": false, + "status": 500, "name": "FileRetrievalError", } ❯ test/uploads/int.spec.ts:914:11
[int] test/uploads/int.spec.ts > Collections - Uploads > Local API > filters > should block or filter uploading from 'media' with URL: 'http://192.168.1.1/file.png': test/uploads/int.spec.ts#L914
AssertionError: expected error to match asymmetric matcher - Expected + Received - ObjectContaining { - "message": StringContaining "unsafe", + FileRetrievalError { + "message": "There was a problem while uploading the file. ENOENT: no such file or directory, open '/home/runner/work/payload/payload/test/uploads/media/test.png'", + "cause": null, + "data": null, + "isOperational": true, + "isPublic": false, + "status": 500, "name": "FileRetrievalError", } ❯ test/uploads/int.spec.ts:914:11
[int] test/uploads/int.spec.ts > Collections - Uploads > Local API > filters > should block or filter uploading from 'media' with URL: 'http://10.0.0.1/file.png': test/uploads/int.spec.ts#L914
AssertionError: expected error to match asymmetric matcher - Expected + Received - ObjectContaining { - "message": StringContaining "unsafe", + FileRetrievalError { + "message": "There was a problem while uploading the file. ENOENT: no such file or directory, open '/home/runner/work/payload/payload/test/uploads/media/test.png'", + "cause": null, + "data": null, + "isOperational": true, + "isPublic": false, + "status": 500, "name": "FileRetrievalError", } ❯ test/uploads/int.spec.ts:914:11
[int] test/uploads/int.spec.ts > Collections - Uploads > Local API > filters > should block or filter uploading from 'media' with URL: 'http://[::1]/file.png': test/uploads/int.spec.ts#L914
AssertionError: expected error to match asymmetric matcher - Expected + Received - ObjectContaining { - "message": StringContaining "unsafe", + FileRetrievalError { + "message": "There was a problem while uploading the file. ENOENT: no such file or directory, open '/home/runner/work/payload/payload/test/uploads/media/test.png'", + "cause": null, + "data": null, + "isOperational": true, + "isPublic": false, + "status": 500, "name": "FileRetrievalError", } ❯ test/uploads/int.spec.ts:914:11
[int] test/uploads/int.spec.ts > Collections - Uploads > Local API > filters > should block or filter uploading from 'media' with URL: 'http://127.0.0.1/file.png': test/uploads/int.spec.ts#L914
AssertionError: expected error to match asymmetric matcher - Expected + Received - ObjectContaining { - "message": StringContaining "unsafe", + FileRetrievalError { + "message": "There was a problem while uploading the file. ENOENT: no such file or directory, open '/home/runner/work/payload/payload/test/uploads/media/test.png'", + "cause": null, + "data": null, + "isOperational": true, + "isPublic": false, + "status": 500, "name": "FileRetrievalError", } ❯ test/uploads/int.spec.ts:914:11
[int] test/uploads/int.spec.ts > Collections - Uploads > Local API > cookie filtering > should keep all cookies when externalFileHeaderFilter is defined: packages/payload/src/uploads/generateFileData.ts#L144
FileRetrievalError: There was a problem while uploading the file. ENOENT: no such file or directory, stat '/home/runner/work/payload/payload/test/uploads/media/fat-head-nate.png' ❯ generateFileData packages/payload/src/uploads/generateFileData.ts:144:13 ❯ createOperation packages/payload/src/collections/operations/create.ts:149:57 ❯ test/uploads/int.spec.ts:848:9 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { data: null, isOperational: true, isPublic: false, status: 500 }
[int] test/uploads/int.spec.ts > Collections - Uploads > Local API > cookie filtering > should filter out payload cookies when externalFileHeaderFilter is not defined: packages/payload/src/uploads/generateFileData.ts#L144
FileRetrievalError: There was a problem while uploading the file. ENOENT: no such file or directory, open '/home/runner/work/payload/payload/test/uploads/media/fat-head-nate.png' ❯ generateFileData packages/payload/src/uploads/generateFileData.ts:144:13 ❯ createOperation packages/payload/src/collections/operations/create.ts:149:57 ❯ test/uploads/int.spec.ts:774:9 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { data: null, isOperational: true, isPublic: false, status: 500 }
All Green
Process completed with exit code 1.

Artifacts

Produced during runtime
Name Size Digest
test-results-bulk-edit Expired
972 KB
sha256:7b850d325a035a3e9c77866e5d04c3486a920c65b13e8f5683ea863b0f67b05f
test-results-form-state Expired
1.73 MB
sha256:5bfd6cb2c2e39e61e788c16303335975b5deff56b7f09e9b9a9c344283790552
test-results-i18n Expired
8.37 MB
sha256:95fc48705454d657228ea472ff2ba5331d561ae401847b71fde282decdbc1476
test-results-joins Expired
2.99 MB
sha256:c988e859a34e3984e22ef088a39f56453c4a848c8954627a98436d9dbbcbea9b
test-results-lexical__collections__Lexical__e2e__blocks Expired
7.8 MB
sha256:c14f8e6ad23f4fc5908f34ac81ff149f23cdce41329120aade21851cf4fbfacd
test-results-lexical__collections___LexicalFullyFeatured Expired
14.5 MB
sha256:dabfd2de7e6c309147d037a7fcc657833af6179b5d1d7c64850747e858b7d6c3
test-results-live-preview Expired
10.2 MB
sha256:b166785fdb53f696cdc220bb12463e53318202374de527deae8a178e5051703f
test-results-localization Expired
7.3 MB
sha256:edc9f699a847da5e2e5173b81230a8793f1cd04e212740209d2c8f13c9bdabbb
test-results-locked-documents Expired
3.6 MB
sha256:622495f9b8452e937f89bdcc92821e9646a947be20c4fd6500ec914cf1db92cf
test-results-sort Expired
5.37 KB
sha256:84f6b1bff5abd5ae34c603c612f6416a44365e98fd24f11738dfcd59778ca461