johannschopplich / nuxt-kql

🫧 Kirby's Query Language API for Nuxt
https://nuxt-kql.byjohann.dev
MIT License
42 stars 2 forks source link

503 Service Unavailable #18

Closed pixelpaulaus closed 2 months ago

pixelpaulaus commented 2 months ago

Environment

N/A

Reproduction

No matter what query i submit from the module. I always get a 503 error, such as:

when I output the error:

[POST] "/api/__kirby__/%24kqll1H5ugig5r": 503 Service Unavailable

The auth details are all correct. Is there any reason why this would be returned from kirby? I can login to kirbly fine. If I sent a generic wget post request to /api/kql I get a proper response.

Describe the bug

N/A

Additional context

No response

Logs

No response

johannschopplich commented 2 months ago

Hi there! The issue indicates that something went wrong when trying to fetch from your Kirby instance. You can read the guide to learn all about the internal Nuxt server proxy /api/__kirby__.

Please follow the issue convention and provide a reproducible example. You can use one of the templates below to create a minimal reproduction: 👉 https://stackblitz.com/github/nuxt/starter/tree/v3-stackblitz 👉 https://codesandbox.io/p/github/nuxt/starter/v3-codesandbox

You can use my Kirby project for the reproducible example:

KIRBY_BASE_URL=https://kirby-headless-starter.jhnn.dev
KIRBY_API_TOKEN=test

If the issue persists and you can't reproduce it, feel free to book some consulting hours. I'd gladyl help you with your setup problems.