I have a Laravel project. Front end I am done with Vuejs. Its working good.
The problem is:
When the system is in idle for some times, and when click any link I got the some console errors and the system is not loading data.
That is the vuejs axios gives the error
POST http://localhost:8000//api/v1/auth/channels/listchannels 400 (Bad Request)
GET http://localhost:8000//api/v1/auth/user 400 (Bad Request)
POST http://localhost:8000//api/v1/auth/sources/listsources 400 (Bad Request)
Uncaught (in promise) Error: Request failed with status code 400
at createError (app.js:1812)
at settle (app.js:1975)
at XMLHttpRequest.handleLoad (app.js:1345)
When I refresh the page the errors are gone and its working good.
Why this happened? Is there any autoload functions there in vuejs to avoid the issue?
Related
i'm getting error while i'm calling simple post api and it throws 422 with 204. and in my code i used try and catch. it every time going to catch. i'm using laravel as a backend and vue.js 3 as a frontend. for api calling i'm using axios.
204 preflight error
I checked solutions in google but they all asking for sanctumn/csrf-cookie. but i'm not using sanctum in my current flow.
https://github.com/smollini/youtube-clone1
Backend is starting without any issues, but after sending post request i get 404 not found respond please help.
Postman screen
I am trying to use the youtube-v3-api for a school project. I keep getting the message, "The request cannot be completed because you have exceeded your quota."
How can I get past this?
We are getting the error in google Translation. API throwing 503 Server unavailable loading error.
We have licenses API_KEY.
Error from the Raw HTTP action. Error during GET request. 500 Internal Server Error loading from https://www.googleapis.com/language/translate/v2?key=API_KEY&source=fr&target=en&q=Cin%C3%A9maEau%20de%20Parfum
Error from the Click action. The action failed after 3 attempts. Error loading resource: http://www.nocibe.fr/preparateur-solaire/visage/C-62816, Error return code 404, info: Not Found
About HTTP error code 503, I have got this error when I have send more than 5000 characters per request.
About other HTTP errors you can read at API FAQ
I got an exception frequently while getting and posting activities via GooglePlus Page API. The details are given below:
APIs:
https://www.googleapis.com/plusPages/v2/people/userId/activities/collection
https://www.googleapis.com/plusPages/v2/people/userId/activities
Exception:
{"error":{"message":null,"code":500}}
Can anyone tell me why i am getting the above exception and how to fix this?
I like to call 500 a server hiccup. Normally you can just send the request again and it will work. Why you are getting it only Google knows. Just send it again.
INTERNAL_SERVER_ERROR (500)
Error code Description internalError The request failed due to an
internal error.
You can find it in Googles standard error responses page.