Loading TOC...
Messages and Codes Reference Guide (PDF)

MarkLogic 10 Product Documentation
Messages and Codes Reference Guide
— Chapter 18

PKG Messages

PKG-BADFORMAT

Message Text

Invalid format: variable1

Cause

Uploading an invalid media type.

Response

Upload a valid media type.

PKG-BADTKTSTATE

Message Text

Ticket is not in 'complete' state: variable1

Cause

Packaging ticket is not in a completed state

Response

Only attempt to revert packages that are completed

PKG-CANNOTSPEC

Message Text

Cannot specify a database or server when uploading a set

Cause

Specifying a database or server name when uploading a set

Response

Upload databases and servers individually or do not specify names.

PKG-DOESNOTEXIST

Message Text

There is no package named: variable1

Cause

A request to access a package that does not exist.

Response

Use a different package name.

PKG-EXISTS

Message Text

A package with this name already exists: variable1

Cause

A request to create a package with a name that already exists.

Response

Use a different package name.

PKG-INVALID

Message Text

Invalid package: variable1. variable2

Cause

Attempting to upload or install a package that is invalid.

Response

Correct the errors and try again.

PKG-INVALIDBIN

Message Text

Invalid binary (not a zip or not a valid package)

Cause

Uploading invalid binary data.

Response

Upload only valid binary data.

PKG-INVALIDJSON

Message Text

Invalid JSON: variable1

Cause

Uploading invalid JSON.

Response

Upload only valid JSON.

PKG-INVALIDNAME

Message Text

Invalid package name: 'variable1' package name must be NCName

Cause

Attempting to create or access a package using an invalid name.

Response

Use a different name.

PKG-INVALIDROOT

Message Text

Modules root path must begin with a slash: variable1

Cause

Using a modules root path that isn't rooted at '/'.

Response

Try again, using a fully qualified modules root path.

PKG-INVALIDXML

Message Text

Invalid root element in XML document: variable1

Cause

Uploading invalid XML.

Response

Upload only valid XML.

PKG-MODTOOBIG

Message Text

Modules database is too large: variable1

Cause

Attempting to package a modules database that is too large.

Response

Remove some content from the modules database.

PKG-NOBINARY

Message Text

Binary content cannot be sent to this endpoint

Cause

Uploading binary content to an endpoint that only expects XML or JSON

Response

Upload XML or JSON.

PKG-NODATABASE

Message Text

There is no database named: variable1 in the package variable2

Cause

Request to get a non-existent database from a package.

Response

Use a different database name.

PKG-NOFNDIFF

Message Text

The filename option is not supported for the differences view

Cause

Requesting a filename when view=differences

Response

Do not specify a filename.

PKG-NOMODDB

Message Text

Server 'variable2' in group 'variable1' does not have a modules database

Cause

Attempting to add modules to a package for a server that doesn't have a modules database

Response

Move the modules to a modules database or choose a different server

PKG-NOMODROOT

Message Text

Server 'variable2' in group 'variable1' does not have a modules root

Cause

Attempting to add modules to a package for a server that doesn't have a modules root

Response

Add a root path or choose a different server

PKG-NOREVERTPKG

Message Text

No revert package exists for this ticket: variable1

Cause

The revert ZIP file is missing from the ticket

Response

You cannot revert this ticket

PKG-NOSERVER

Message Text

There is no server named: 'variable2' in group 'variable1' in the package variable3

Cause

Request to get a non-existent server from a package.

Response

Use a different server name.

PKG-NOTADMIN

Message Text

You do not have credentials to access server module database content.

Cause

You are logged in as a user with manage privileges but not manage-admin privileges

Response

Do not attempt to access the modules database content or login as a user with manage-admin privileges

PKG-NOTPKGTKT

Message Text

Ticket is not a package install ticket: variable1

Cause

Attempt to revert a non-packaging ticket.

Response

Only attempt to revert packaging tickets.

PKG-NOTXML

Message Text

Uploaded data is not well-formed XML

Cause

Uploading non-XML data with a format or content type that specifies XML.

Response

Fix the XML or change the format or content type to match the data.

PKG-NOZIPDIFF

Message Text

ZIP format is not supported for the differences view

Cause

Requesting format=zip when view=differences

Response

Do not specify format=zip.

PKG-ROLLUPG

Message Text

Cannot install packages during rolling upgrade

Cause

You are attempting to install a package during rolling upgrade.

Response

Complete the upgrade process before attempting to install the package

PKG-UNKSERVERTYPE

Message Text

Unknown server type (variable1): server 'variable3' in group 'variable2'

Cause

Attempting to package a server with an unknown type.

Response

Report bug.

PKG-UNSUPFORMAT

Message Text

Format unsupported on this endpoint: variable1

Cause

Requesting an unsupported format.

Response

Request a supported format.

« Previous chapter
Next chapter »