Skip to main content

Error Code 14000

Error Screenshot

Error Code 14000 Screenshot

Error Description

Invalid request parameters: request parameters are missing, malformed, or failed validation.

Solution

Common Scenarios

Error MessageDescription
token is requiredThe token field is missing from the request body
params is requiredThe params field is missing from the request body
params is not a valid JSON stringparams is not a valid JSON string
One of token/repoId/meta/downloadUrl is nullRequired fields are missing from params
The params decoded from the token is incompleteThe JWT payload is incomplete after decoding
downloadUrl not match mediaUrlThe host of downloadUrl does not match the third-party API address
uploadUrl not match mediaUrlThe host of uploadUrl does not match the third-party API address
mentionUrl not match mediaUrlThe host of mentionUrl does not match the third-party API address
notifyUrl not match mediaUrlThe host of notifyUrl does not match the third-party API address

Missing token or params

In Frontend SDK integration mode, JSSDK sends a POST request to Filez Document Platform during initialization. The request body structure is as follows:

{
"token": "JWT signature string",
"params": "JSON string of the initialization config object"
}

Ensure both token and params are passed correctly. params should be a JSON string serialized from the complete initialization config object. See Configuration for field details.

params is not a valid JSON string

Verify that the value of params is a valid JSON string. Common mistakes include: passing a JavaScript object instead of a JSON string (use JSON.stringify() to serialize); unescaped special characters in the JSON string; missing quotes or brackets during string concatenation.

Required parameters missing

params must include meta (at minimum id, name, modified_at, and permissions), userinfo (at minimum id), and repoConfig.downloadUrl. The JWT token payload must also be complete: meta.id, meta.permissions.read and meta.permissions.write (boolean values), userinfo.id, repoConfig.id, and openConfig.action (value must be edit or view). See Configuration and Signature for complete requirements.

URL host mismatch

The hosts of downloadUrl, uploadUrl, notifyUrl, and mentionUrl (if provided) in repoConfig must match the host of the third-party API address configured in the admin console (including hostname and port). For example, if the third-party API address is https://demohost:8080/v2/context, then downloadUrl should follow the format https://demohost:8080/v2/context/{docId}/content. If the host in the URL does not include a port, the related configuration should not include a port either; when protocols (http/https) differ, host comparison is still based on hostname and port. See Preparation for admin console configuration.