Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

jesaxime's avatar

Help Im stuck

Hi,

I was playing around with artisan commands and that is all going great. However when I do an api call to my application I only get HTTP 503 responses.

My application only has an api, but I don't know how to fix this!

0 likes
2 replies
bobbybouwmann's avatar
Level 88

Hi,

Well this normally happens when you run php artisan down. It basically means you put your application in maintenance mode. The app\Http\Middleware\CheckForMaintenanceMode.php class is taking care of this for you.

You can fix this by simply running php artisan up.

Let me know if that fixes it for you ;)

jesaxime's avatar

Oow, I'm that stupid! Thanks for the quick reply! I didn't know you could do this with Laravel.

This is awesome!

Please or to participate in this conversation.