---
title: "Error Codes"
description: "Every diagnostic code nuxt-convex and vue-convex print, with what it means and how to fix it."
canonical_url: "https://nuxt-convex.onmax.me/errors"
---
# Error Codes

> Every diagnostic code nuxt-convex and vue-convex print, with what it means and how to fix it.

nuxt-convex and vue-convex report setup problems as diagnostics with a stable code. Each one prints why it happened, how to fix it, and a link to its page here:

```txt
[VUE_CONVEX_R0002] Convex is not installed on this app.
├▶ fix: Call app.use(convexVue, { url }) before mounting the app.
╰▶ see: https://nuxt-convex.onmax.me/errors/vue-convex-r0002
```

Production builds drop the text and keep the code and the link. A thrown diagnostic is an `Error` whose `name` is the code.

The letter after the prefix is the area: `C` config, `B` build, `D` deprecation, `R` runtime. Errors from your Convex functions (`ConvexError`) and network failures are not diagnostics: see [Error Handling](https://nuxt-convex.onmax.me/nuxt-module/error-handling).

## nuxt-convex

<table>
<thead>
  <tr>
    <th>
      Code
    </th>
    
    <th>
      Level
    </th>
    
    <th>
      Title
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <a href="https://nuxt-convex.onmax.me/errors/nuxt-convex-c0001">
        <code>
          NUXT_CONVEX_C0001
        </code>
      </a>
    </td>
    
    <td>
      error
    </td>
    
    <td>
      The <code>
        convex
      </code>
      
       Better Auth database provider was removed
    </td>
  </tr>
  
  <tr>
    <td>
      <a href="https://nuxt-convex.onmax.me/errors/nuxt-convex-c0002">
        <code>
          NUXT_CONVEX_C0002
        </code>
      </a>
    </td>
    
    <td>
      warning
    </td>
    
    <td>
      Convex URL not configured
    </td>
  </tr>
  
  <tr>
    <td>
      <a href="https://nuxt-convex.onmax.me/errors/nuxt-convex-d0001">
        <code>
          NUXT_CONVEX_D0001
        </code>
      </a>
    </td>
    
    <td>
      deprecation
    </td>
    
    <td>
      <code>
        convex.server
      </code>
      
       is deprecated
    </td>
  </tr>
  
  <tr>
    <td>
      <a href="https://nuxt-convex.onmax.me/errors/nuxt-convex-b0001">
        <code>
          NUXT_CONVEX_B0001
        </code>
      </a>
    </td>
    
    <td>
      warning
    </td>
    
    <td>
      Missing convex/_generated
    </td>
  </tr>
  
  <tr>
    <td>
      <a href="https://nuxt-convex.onmax.me/errors/nuxt-convex-b0002">
        <code>
          NUXT_CONVEX_B0002
        </code>
      </a>
    </td>
    
    <td>
      warning
    </td>
    
    <td>
      The storage scaffold lets anyone upload and delete files
    </td>
  </tr>
  
  <tr>
    <td>
      <a href="https://nuxt-convex.onmax.me/errors/nuxt-convex-b0003">
        <code>
          NUXT_CONVEX_B0003
        </code>
      </a>
    </td>
    
    <td>
      warning
    </td>
    
    <td>
      Scaffolding storage functions in the project instead of the layer
    </td>
  </tr>
  
  <tr>
    <td>
      <a href="https://nuxt-convex.onmax.me/errors/nuxt-convex-r0001">
        <code>
          NUXT_CONVEX_R0001
        </code>
      </a>
    </td>
    
    <td>
      warning
    </td>
    
    <td>
      No Convex URL configured at run time
    </td>
  </tr>
  
  <tr>
    <td>
      <a href="https://nuxt-convex.onmax.me/errors/nuxt-convex-r0002">
        <code>
          NUXT_CONVEX_R0002
        </code>
      </a>
    </td>
    
    <td>
      error
    </td>
    
    <td>
      Resolving the Convex token failed
    </td>
  </tr>
  
  <tr>
    <td>
      <a href="https://nuxt-convex.onmax.me/errors/nuxt-convex-r0003">
        <code>
          NUXT_CONVEX_R0003
        </code>
      </a>
    </td>
    
    <td>
      warning
    </td>
    
    <td>
      Failed to load storage refs from the generated Convex API
    </td>
  </tr>
  
  <tr>
    <td>
      <a href="https://nuxt-convex.onmax.me/errors/nuxt-convex-r0004">
        <code>
          NUXT_CONVEX_R0004
        </code>
      </a>
    </td>
    
    <td>
      warning
    </td>
    
    <td>
      Better Auth token request failed
    </td>
  </tr>
  
  <tr>
    <td>
      <a href="https://nuxt-convex.onmax.me/errors/nuxt-convex-r0005">
        <code>
          NUXT_CONVEX_R0005
        </code>
      </a>
    </td>
    
    <td>
      error
    </td>
    
    <td>
      Convex URL is not configured for server routes
    </td>
  </tr>
  
  <tr>
    <td>
      <a href="https://nuxt-convex.onmax.me/errors/nuxt-convex-r0006">
        <code>
          NUXT_CONVEX_R0006
        </code>
      </a>
    </td>
    
    <td>
      error
    </td>
    
    <td>
      The Better Auth proxy has no Convex site URL
    </td>
  </tr>
  
  <tr>
    <td>
      <a href="https://nuxt-convex.onmax.me/errors/nuxt-convex-r0007">
        <code>
          NUXT_CONVEX_R0007
        </code>
      </a>
    </td>
    
    <td>
      error
    </td>
    
    <td>
      Could not reach the Convex site URL
    </td>
  </tr>
  
  <tr>
    <td>
      <a href="https://nuxt-convex.onmax.me/errors/nuxt-convex-r0008">
        <code>
          NUXT_CONVEX_R0008
        </code>
      </a>
    </td>
    
    <td>
      error
    </td>
    
    <td>
      Convex realtime client is not connected (R2 upload)
    </td>
  </tr>
  
  <tr>
    <td>
      <a href="https://nuxt-convex.onmax.me/errors/nuxt-convex-r0009">
        <code>
          NUXT_CONVEX_R0009
        </code>
      </a>
    </td>
    
    <td>
      error
    </td>
    
    <td>
      R2 uploads are only available on the client
    </td>
  </tr>
</tbody>
</table>

## vue-convex

<table>
<thead>
  <tr>
    <th>
      Code
    </th>
    
    <th>
      Level
    </th>
    
    <th>
      Title
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <a href="https://nuxt-convex.onmax.me/errors/vue-convex-r0001">
        <code>
          VUE_CONVEX_R0001
        </code>
      </a>
    </td>
    
    <td>
      error
    </td>
    
    <td>
      Convex composables must be called inside setup()
    </td>
  </tr>
  
  <tr>
    <td>
      <a href="https://nuxt-convex.onmax.me/errors/vue-convex-r0002">
        <code>
          VUE_CONVEX_R0002
        </code>
      </a>
    </td>
    
    <td>
      error
    </td>
    
    <td>
      Convex is not installed on this app
    </td>
  </tr>
  
  <tr>
    <td>
      <a href="https://nuxt-convex.onmax.me/errors/vue-convex-r0003">
        <code>
          VUE_CONVEX_R0003
        </code>
      </a>
    </td>
    
    <td>
      error
    </td>
    
    <td>
      Convex realtime client is not connected
    </td>
  </tr>
  
  <tr>
    <td>
      <a href="https://nuxt-convex.onmax.me/errors/vue-convex-r0004">
        <code>
          VUE_CONVEX_R0004
        </code>
      </a>
    </td>
    
    <td>
      error
    </td>
    
    <td>
      Convex HTTP client is not connected
    </td>
  </tr>
  
  <tr>
    <td>
      <a href="https://nuxt-convex.onmax.me/errors/vue-convex-r0005">
        <code>
          VUE_CONVEX_R0005
        </code>
      </a>
    </td>
    
    <td>
      error
    </td>
    
    <td>
      reconfigure() needs a Convex URL
    </td>
  </tr>
  
  <tr>
    <td>
      <a href="https://nuxt-convex.onmax.me/errors/vue-convex-r0006">
        <code>
          VUE_CONVEX_R0006
        </code>
      </a>
    </td>
    
    <td>
      error
    </td>
    
    <td>
      Storage feature is not configured
    </td>
  </tr>
  
  <tr>
    <td>
      <a href="https://nuxt-convex.onmax.me/errors/vue-convex-r0007">
        <code>
          VUE_CONVEX_R0007
        </code>
      </a>
    </td>
    
    <td>
      error
    </td>
    
    <td>
      The upload response did not include a storageId
    </td>
  </tr>
  
  <tr>
    <td>
      <a href="https://nuxt-convex.onmax.me/errors/vue-convex-r0008">
        <code>
          VUE_CONVEX_R0008
        </code>
      </a>
    </td>
    
    <td>
      error
    </td>
    
    <td>
      Uploads are only available on the client
    </td>
  </tr>
  
  <tr>
    <td>
      <a href="https://nuxt-convex.onmax.me/errors/vue-convex-r0009">
        <code>
          VUE_CONVEX_R0009
        </code>
      </a>
    </td>
    
    <td>
      error
    </td>
    
    <td>
      serverAuth.getToken() failed
    </td>
  </tr>
</tbody>
</table>


## Sitemap

See the full [sitemap](https://nuxt-convex.onmax.me/sitemap.md) for all pages.
