---
metadata:
  - name: generator
    content: Diplodoc Platform v5.63.0
alternate:
  - en/troubleshooting/errors/ERR-DS_API-US-BAD_REQUEST
  - ru/troubleshooting/errors/ERR-DS_API-US-BAD_REQUEST
  - href: en/troubleshooting/errors/ERR-DS_API-US-BAD_REQUEST.md
    type: text/markdown
    title: Markdown version
csp:
  - script-src:
      - https://mc.yandex.ru
    img-src:
      - https://mc.yandex.ru
    connect-src:
      - https://mc.yandex.ru
      - wss://mc.yandex.ru
    child-src:
      - 'blob:'
      - https://mc.yandex.ru
    frame-src:
      - 'blob:'
      - https://mc.yandex.ru
    frame-ancestors:
      - 'blob:'
      - https://mc.yandex.ru
canonical: en/troubleshooting/errors/ERR-DS_API-US-BAD_REQUEST.html
title: DataLens On-premises error ERR.DS_API.US.BAD_REQUEST
description: This page describes the Object request errorin DataLens On-premises.
vcsPath: en/troubleshooting/errors/ERR-DS_API-US-BAD_REQUEST.md
---

# [DataLens On-premises] Object request error

`ERR.DS_API.US.BAD_REQUEST`

This is the server response to an invalid object request.

This error may occur when attempting to use forbidden characters in the object name. The name must meet these requirements:

* Starts and ends with an upper-case or lower-case Latin or Russian letter, number, or one of these characters: `_`, `@`, `(`, `)`, or`%`.

* The other characters must be upper-case or lower-case Latin or Russian letters, numbers, acceptable characters, or spaces.

  {% cut "Acceptable characters" %}
  
  * Underscore: `_`
  * At: `@`
  * Parentheses: `(`, `)`
  * Percent: `%`
  * Comma: `,`
  * Colon: `:`
  * Semicolon: `;`
  * Apostrophe: `'`
  * Vertical bar: `|`
  * Hyphen: `-`
  * En dash: `–`
  * Em dash: `—`
  * Minus: `−`
  * Dollar: `$`
  * Asterisk: `*`
  * Ampersand: `&`
  
  {% endcut %}

Examples of incorrect names:

* `Line chart: "Sales by categories"`: Name contains a forbidden character, `"`.
* `Line chart. Sales by product categories.`: Name ends with a forbidden character, `.`.

To fix this error, specify the object name using only the acceptable characters, e.g.: `Line chart: Sales by categories`.
