# 503 - service not available or Oops! An error has occurred!

**URL:** <https://forum.shopware.com/t/503-service-not-available-or-oops-an-error-has-occurred/36225>\
**Category:** Programmierung\
**Created:** [22. April 2016 um 06:25 UTC](https://forum.shopware.com/t/503-service-not-available-or-oops-an-error-has-occurred/36225 "2016-04-22T06:25:55Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![abdul.ahad2k14](https://avatars.discourse-cdn.com/v4/letter/a/4491bb/32.png) [@abdul.ahad2k14](https://forum.shopware.com/u/abdul.ahad2k14)\
**Post date:** [22. April 2016 um 06:25 UTC](https://forum.shopware.com/t/503-service-not-available-or-oops-an-error-has-occurred/36225/1 "2016-04-22T06:25:55Z")

</div>

Hi Guys,

Has anyone figured out best way to find out what’s wrong in your code when shopware throws:

> Oops! An error has occurred!
> 
> We have been informed about the problem and try to solve it. Please try again within a short time.

I have tried all methods to find the reason for this error. All I see is above message even after checking&nbsp;in server, php, shopware logs. I even tried&nbsp;[http://en.community.shopware.com/\_detail\_1912.html?\_ga=1.1980146.2114788148.1459335726](http://en.community.shopware.com/%5C_detail%5C_1912.html?%5C_ga=1.1980146.2114788148.1459335726)

But to my surprise no error. With no options left&nbsp;I had to debug the code line by line with traditional var\_dump() process and found that the folder/file is inaccessible and is missing permission. 3 hours of debugging gave me this solution. Is there a simpler way to find the errors instead of that Oops message?

- Ahad -
