You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For certain states when a user attempts to upload a file without having enough space they following generic error:
2025/05/16 11:07:55 ERROR : foobar.jpg: Failed to copy: Update Close failed: sftp: "An error occurred when attempting to register this file on Permanent.org." (SSH_FX_FAILURE)
The server logs will say:
May 16 15:07:55 sftp-prod node[29803]: 5/16/2025, 3:07:55 PM debug: {"message":"warning.financial.account.no_space_left"} {"statusCode":500}
May 16 15:07:55 sftp-prod node[29803]: Error: {"message":"warning.financial.account.no_space_left"}
May 16 15:07:55 sftp-prod node[29803]: at makePermanentApiCall (/data/www/sftp-service/node_modules/@permanentorg/sdk/dist/cjs/utils/makePermanentApiCall.js:26:15)
May 16 15:07:55 sftp-prod node[29803]: at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
May 16 15:07:55 sftp-prod node[29803]: at async createS3UploadVo (/data/www/sftp-service/node_modules/@permanentorg/sdk/dist/cjs/api/createS3UploadVo.js:8:22)
May 16 15:07:55 sftp-prod node[29803]: at async uploadFile (/data/www/sftp-service/node_modules/@permanentorg/sdk/dist/cjs/sdk/uploadFile.js:7:24)
May 16 15:07:55 sftp-prod node[29803]: at async PermanentFileSystem.createFile (/data/www/sftp-service/build/classes/PermanentFileSystem.js:208:19)
May 16 15:07:55 sftp-prod node[29803]: at async /data/www/sftp-service/build/classes/SftpSessionHandler.js:398:9
We should make sure to properly convey the message (also, it isn't clear to me this should be a 500 error from the server, but that's another issue)
Activity