# Error while try to create vault account

**URL:** <https://community.fireblocks.com/t/error-while-try-to-create-vault-account/3086>\
**Category:** Support\
**Tags:** help-center\
**Created:** [January 28, 2026, 11:33am UTC](https://community.fireblocks.com/t/error-while-try-to-create-vault-account/3086 "2026-01-28T11:33:26Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ojhasujeet](https://avatars.discourse-cdn.com/v4/letter/o/b5ac83/32.png) [@ojhasujeet](https://community.fireblocks.com/u/ojhasujeet)\
**Post date:** [January 28, 2026, 11:33am UTC](https://community.fireblocks.com/t/error-while-try-to-create-vault-account/3086/1 "2026-01-28T11:33:26Z")

</div>

FireblocksError {  
message: ‘The request has expired’,  
response: FireblocksResponse {  
data: { message: ‘The request has expired’, code: -10 },  
statusCode: 401,  
headers: {  
date: ‘Wed, 28 Jan 2026 11:29:35 GMT’,  
‘content-type’: ‘text/html’,  
‘content-length’: ‘52’,  
connection: ‘keep-alive’,  
‘cf-cache-status’: ‘DYNAMIC’,  
server: ‘cloudflare’,  
‘cf-ray’: ‘9c50272278a16e08-EWR’  
}  
},

import { readFileSync } from “fs”;

import { fileURLToPath } from “url”;

import { dirname, join } from “path”;

import { Fireblocks, BasePath } from “@fireblocks/ts-sdk”;

import {FIREBLOCKS\_API\_KEY} from “./envSecrets.js”

// ESM-safe \_\_dirname

const \_\_filename = fileURLToPath(import.meta.url);

const \_\_dirname = dirname(\_\_filename);

const FIREBLOCKS\_API\_SECRET\_PATH = join(

\_\_dirname,

“fireblocks\_secret.key”

);

const fireblocks = new Fireblocks({

apiKey: FIREBLOCKS\_API\_KEY,

basePath: BasePath.Sandbox,

secretKey: readFileSync(FIREBLOCKS\_API\_SECRET\_PATH, “utf8”),

});

console.log(“fireblocks”,fireblocks);

export default fireblocks;
