# IMPORT_ATTRIBUTE_REFUSED: Import attribute refused

> Import attribute refused

> Esta página ainda não tem tradução para o português; este é o texto em inglês. (This page is not translated yet: the English text follows.)

| Severity | Fault                         | Stage   |
| -------- | ----------------------------- | ------- |
| error    | customer (the source package) | compile |

## What it means

The only import attribute allowed is `with { type: "json" }` on a .json file; `type: "text"`, `"bytes"`, `"file"` and the like are refused.

## How to fix

Remove the attribute, or import a .json file with `with { type: "json" }`.
