---
title: "ApiError | Upload js | Api client"
description: "Documentation for Upload JS"
---

> For AI agents: a documentation index is available at [/llms.txt](https://docs.maptiler.com/llms.txt). Markdown versions of all pages are available by appending .md to any URL.

# Type Alias ApiError

type ApiError \= {  
    [message](#message): string;  
    [type](#type): string;  
}

-   Defined in [client/types.ts:53](https://github.com/maptiler/maptiler-upload-js/blob/9a8e1ef4a2e85d959471c8ef80adaab2ecd39027/packages/core/src/client/types.ts#L53)

##### Index

### Properties[](#properties)

[message](#message) [type](#type)

## Properties[](#properties-1)

### message[](#message)

message: string

-   Defined in [client/types.ts:55](https://github.com/maptiler/maptiler-upload-js/blob/9a8e1ef4a2e85d959471c8ef80adaab2ecd39027/packages/core/src/client/types.ts#L55)

### type[](#type)

type: string

-   Defined in [client/types.ts:54](https://github.com/maptiler/maptiler-upload-js/blob/9a8e1ef4a2e85d959471c8ef80adaab2ecd39027/packages/core/src/client/types.ts#L54)
