My project is working fine on my computer but after uploading it to heroku, I get an error 403.
Related
I deploy my Laravel + vue project on the Digitalocean apps and some of my api are working but some are not.
When I look into the api response I received message: "Server Error",
But the api is working on localhost and gives error after the deployment.
Is there a way to view the actual error message of the api reponse? so that I can easily understand what causing the error and fix it.
But I really find it weird that it causing error in the digitalocean apps, but works on my local machine.
I've tried searching for hours how to view the errors but I can't find it.
please help me. Thank you!
You can log in to your server and look in the file storage/logs/laravel.log.
Otherwise, I would suggest using a service such as Bugsnag or Sentry, which have integrations with laravel and will give you a dashboard with all your errors
Some people suggest putting APP_DEBUG to true, but that is a security risk as your customers will be able to see the error as well, and you should never do this on a production server
I'm getting this error today while API was working fine yesterday. Website is working fine and SSL is still active
When I send the request to example.com without www I get the same error and also get getaddrinfo ENOTFOUND
We are using google drive api to download the content, which was working fine from last 2 years, Now we started facing below error:
Error 403 (Forbidden)!!1
403 Forbidden
Your client does not have permission.
steps to reproduce:
Get API:
https://content.googleapis.com/drive/v2/files/<FILE_ID>?alt=media&source=downloadUrl
Headers : Authorization: Bearer <token>
Content created on google drive is getting downloaded, while content uploaded to drive from the local machine is not getting downloaded via API.
Any help would be appreciated. We have scope drive.readonly granted.
I had the same issue, an application we had running for years suddenly stopped working in mid-March of this year. I found the solution in this post.
In summary, the download url returned (content.googleapis.com/drive/v2/files/FileID?alt=media) no longer works. Instead use this url - googleapis.com/drive/v2/files/FileID?alt=media
I'm working on ASP.NET Core application. I had to host online for testing few cases. I tried using ngrok. Everything perfectly done as show on:
C# Corner link
I could see the request being logged in ngrok
But browser stops with 502 bad Gateway.
After entering this URL in my browser http://localhost/laravel-projects/public/
This page isn’t working localhost is currently unable to handle this request. HTTP ERROR 500
I am running Laravel project on Xampp. I also tried Vagrant and Homestead installation but am getting the same error.