731
questions
0
votes
1
answer
87
views
Cannot access rails backend with fetch (500 Internal Server Error)
I'm trying to access an api backend in a React/Rails app. I'm referencing this tutorial (it's a little outdated, but works with a few tweaks). I can't seem to connect to the backend. How can I resolve ...
0
votes
0
answers
39
views
HTTP Error 500.19 - Internal Server Error when tryign to host on IIS [duplicate]
I am trying to host on IIS for the first time and i keep getting the below error.
Error:
HTTP Error 500.19 - Internal Server Error
The requested page cannot be accessed because the related ...
0
votes
0
answers
38
views
Trouble understanding Errorlog - HTTP Error 500
My Website is showing HTTP Error 500. It started immediately I installed OJS. The admin page is working fine but the frontend is showing the HTTP Error.
I tried to check the errorlog in My CPanel but ...
0
votes
1
answer
34
views
When using UseExceptionHandler for custom error pages, error page shows up blank
I am trying to implement custom error pages on my site built with .Net 6 and have tried implementing with the following code:
Program.cs
var builder = WebApplication.CreateBuilder(args);
// Add ...
1
vote
2
answers
848
views
Error installing Meta-Llama-3-70B model from Hugging Face Hub
I'm trying to load the Meta-Llama-3-70B model from the Hugging Face Hub using the Transformers library in Python, but I'm encountering the following error:
OSError: We couldn't connect to 'https://...
2
votes
1
answer
136
views
Which is the correct HTTP response code in case a certain resource cannot be accessed until some other state is changed?
The question title states the problem generically, but the real case is the following.
My server has the following web APIs:
A first one that allows to set the datetime of the machine
A second one to ...
0
votes
1
answer
60
views
Bad Request 400 status
url = "/IPM/KPI/Add"; input = new FormData($('#frmKPI').get(0)) ;
PostAjax: function (isForm, url, input, divErrID, btnID, isSuccessFunction, isFailedFunction, NoModalAlert, isAsync)
{
...
0
votes
0
answers
44
views
Getting Http error 500 on a Blazor server app after a while that it receives no more request
I have a Blzor server application that works fine as a Windows service, but sometimes after a while that there are no web requests, I get http error 500 when opening a page. It seems that there is no ...
0
votes
0
answers
27
views
res.on() is not a function when trying to mock http request failure in Angular
I'm working on the front-end of an Angular app where I have added an interceptor to handle errors when making http requests. I've tested the interceptor by making simple http requests to broken links ...
0
votes
0
answers
22
views
I'm did POST method for DELETE with correct parameters and URL in React application but receive 400 Bad request error. Can it be server side issue?
#API #HTTPrequest #BadRequestError
I'm trying to do a HTTP POST method to delete a resource from the Database in a React js application. Parameters and URL are passed correctly along with the header ...
13
votes
5
answers
17k
views
How to solve HTTP Error 400: Bad Request in PyTube?
I made a simple 3 line project with pyTube library. All it does is download a video from YT. With it I usually download videos of handball games which are around 100 minutes long. It all worked fine 7 ...
0
votes
0
answers
201
views
Getting AxiosError: Request failed with status code 504 on Graph API request on Sunday only for selected users
I am getting multiple user's presence for teams using the Microsoft Graph API endpoint https://graph.microsoft.com/beta/communications/getPresencesByUserId.
I am getting an error as 'AxiosError: ...
1
vote
1
answer
702
views
I am grtting HTTP error while opening chrome browser using undetected_chromedriver
I am getting HTTP 404 error while opening chrome browser using undetected chrome browser in selenium.
The code was running well one day and suddenly it stopped working, I have tried reinstalling ...
0
votes
0
answers
133
views
Youtube viewer program
While using MShawon's YouTube Viewer Program, I faced some issues. Everything was normal until this message comes:
Traceback (most recent call last):
File "C:\Users\Admin\Downloads\YouTube-...
0
votes
0
answers
269
views
"Request contains an invalid argument" when all arguments seem good
I am using the Google FactCheckTools API, and encountering problems.
Here is my code:
import json
from googleapiclient.discovery import build
import os.path
from google.auth.transport.requests import ...
2
votes
3
answers
324
views
HTTP POST response failure angular 16
I'm bothered with an http failure response "Unknown error" and I didn't found where is the problem.
With PDO when I send my object to Mysql server login with messageText "string" ...
1
vote
1
answer
73
views
I receive a 405 HTTP error despite having the proper HTTP endpoint
I'm making a REST API to store calendar dates in Flask. Despite having a POST endpoint, I receive a 405 error when I use fetch.
Here's the HTTP error: "POST /MichelScott123/calendar/data HTTP/1.1&...
0
votes
1
answer
545
views
Error message in Azure Function Logs: 'Unexpected end of request content', status_code=0
I have an Azure Function that receives an HTTP Request containing JSON data. The function is supposed to filter the incoming JSON type and, upon identifying the specified JSON, extract certain values ...
0
votes
0
answers
198
views
Powershell script Invoke-WebRequest : Bad Request - HTTP Error 400. The request is badly formed
Following script is giving
'Bad Request - HTTP Error 400. The request is badly formed.'
$apiServer = "https://localhost:44353"
$apiCategory = "/api/school/v1"
$endPointsList = &...
-1
votes
1
answer
47
views
After formatting server and reinstalling OS WinServer 2019, my Blazor server side app gives Error HTTP Error 500.19 - Internal Server Error [duplicate]
I know that there are lot of entries regarding this subject, but as the suggested solutions didn't help yet, I wanted to explain my usecase with its sprecific conditions and narrow the problem:
I have ...
3
votes
1
answer
1k
views
Detect if Sentry.captureMessage(…) or Sentry.captureException(…) gets blocked in an JavaScript app (e.g. by an ad blocker)
Setup
We have a Javascript (Angular/TypeScript) App, which uses Sentry.io for error reports.
If a throw happens, a global error handler takes care and shows a custom modal to the user, with a textarea,...
2
votes
0
answers
2k
views
How to force Chrome to use HTTP/1.1 for a particular Website?
Whenever I am visiting a particular website via same chrome version on 2 different windows machine the protocol in network tab is showing different protocol versions.
Here, I can not post the website ...
0
votes
0
answers
178
views
403 forbidden when using cypress to visit globar url
I'm trying to access https://www.oysho.com/es/ website from Mexico, whenever I manually access it on my broswer it works for both https://www.oysho.com/mx/ and https://www.oysho.com/es/
I keep getting ...
0
votes
0
answers
155
views
403 forbidden python windows vs linux
When running Python requests from a window's desktop (Python 3.11.4), it works fine; once running from Linux's server (Python 3.8.6 or Python 3.10.1), it returns 403 code forbidden (please enable JS ...
0
votes
2
answers
766
views
Confluence REST API - HTTPError: 404 Client Error... appended `rest/api/content/<page_id>` at end of URL
Goal: Establish connection to Confluence page, via. atlassian-python-api==3.41.1.
Configuration:
Username - e-mail address
Password - API key (regenerated many times)
Permissions:
Contacted admins
...
1
vote
1
answer
193
views
Apache 2: log only 400 errors and not other 4XX
In Apache2.4 I would need to log as much as I can for requests resulting in a 400 error.
Is it possible to achieve this without setting the logging level to debug? Is is also possible to log only 400 ...
0
votes
0
answers
80
views
HTTP code for 'more information required'
What is an appropriate error code when the server finds that the presented information is correct but insufficient to successfully serve the request? The Client should come back with more context/...
0
votes
1
answer
358
views
ORACLE APEX-LOWCODE:HTTP Failure-"An error occurred during URL invocation. ORA-29024: Certificate validation failure
I am using REST DATA SOURCE in apex low code.
When I call an API. I am getting this error:
"An error occurred during URL invocation.
ORA-29024: Certificate validation failure".
This API is ...
0
votes
1
answer
441
views
How to prevent flutter app crash on fail to load NetworkImage?
I checked mon many sources and everybody say to use FadeImage or CachedNetworkimage that got a property to return a Widget in case of error but in my case none of that work and I still don't know what'...
1
vote
0
answers
326
views
raise_for_status equivalent for http.client.HTTPResponse?
Python's third party requests library has the convenient method raise_for_status to auto-raise an HTTPError.
What is an equivalent function for the built-in http.client.HTTPResponse?
I made the below ...
0
votes
1
answer
43
views
Using js/flask, getting internal 500 error on using Post request
So I have a little project Im working on, that involves sending the text-area value, to the python side of my flask app, and my front end code looks like this
<input id="promptArea" type=&...
0
votes
0
answers
397
views
HttpError 403 when requesting admin.googleapis - Python Issue with Service Account
I'm writing a script in Python to try and pull data down from the Google Admin SDK API to get information on Google Groups & the users in those groups in GCP. I've been wracking my brain about ...
0
votes
1
answer
646
views
How to troubleshoot HTTP 500 error when using ASP.NET Core Web API and Entity Framework Core with IIS server?
I have programmed a very basic API using ASP.NET Core 6.0 and using Entity Framework Core I am trying to communicate with one of my SQL Server databases to access a table.
When I run my IIS Express ...
0
votes
1
answer
2k
views
HTTP error while accessing the nsetools library in python
How to solve this HTTP error while accessing the nsetools library in python?
After installing nsetools via pip install nsetools --upgrade, I performed these steps:
from nsetools import Nse
import ...
7
votes
1
answer
8k
views
How come Spring Webclient onStatus is not applicable for HttpStatus::is4xxClientError?
I've implemented a web client based on the spring-boot-starter-webflux artifact.
The code:
// create client bean to use throughout services
@Bean
public WebClient geoserverWebClient() {
// to not ...
-2
votes
1
answer
233
views
IIS_IUSRS group is empty
I have 500.19 error when trying to host a PHP application
I've tried to add the IIS_IUSRS group and permissions to it, but when I added it the site stopped working, maybe the problem is that the ...
0
votes
1
answer
138
views
Hitting a 401 Unauthorized error when trying to interact with on-prem sharepoint 2019 (REST API C#)
I'm trying to build out an API call that would add a new item to a already existing SharePoint list, however I keep bumping into a 401 unauthorized error. I've tried using different "levels" ...
2
votes
0
answers
273
views
What might be the reasons of angular getting http error status code 0 Unknown Error (in my case)?
Recently, a bug appeared in the angular application.
Generaly it works like that:
User clicks button.
Angular triggers method, which do a few things, then make request to my NestJS api.
API generates ...
0
votes
1
answer
801
views
What would be the proper backend response for expired JWT token? [closed]
So what I found useful is according to MDN's HTTP Response Status Code the status code that can qualify is:
400 Bad Request
401 Unauthorized
406 Not Acceptable
412 Precondition Failed
Now, I was ...
1
vote
1
answer
242
views
Fetching an RSS Feed using Google Apps Script Returns 406 Error
I've got a simple Google apps script that is fetching a series of RSS feeds:
for (let i = 0; i < rssUrls.length; i++) {
const rssUrl = rssUrls[i];
const response = UrlFetchApp.fetch(rssUrl);
...
1
vote
0
answers
568
views
Azure Web App Default Domain link fails to launch App - too many HTTP redirects
I have just tested & deployed an App that launches to a login page using localhost. From previous experience I would expect to check my deployment by launching the app from the WebApp page inside ...
1
vote
1
answer
1k
views
ASP.NET WebApi returns HTTP 404 instead of HTTP 401
the simple scaffolded Individual Authentication from Program.cs, :
var connectionString = builder.Configuration.GetConnectionString("DefaultConnection") ?? throw new ...
3
votes
3
answers
4k
views
Custom error message is response body of Axios POST, throws error in catch ? (code included)
When I create this .NET 5 Web API which returns an error via "NotFound" but includes text string with additional error information, this custom error details:
(a) shows up in Postman in the ...
0
votes
0
answers
629
views
.NET Core HTTP Error 400. The size of the request headers is too long
I have 3 .NET Core services (just regular console applications) running and doing HTTP requests to one of my api controllers every 30s, but after a while I get this error HTTP Error 400. The size of ...
0
votes
2
answers
85
views
Getting a 401 response while using Requests package
I am trying to access a server over my internal network under https://prodserver.de/info.
I have the code structure as below:
import requests
from requests.auth import *
username = 'User'
password = '...
0
votes
1
answer
258
views
How to know if graphql returned an error when using curl?
HTTP GraphQl calls always return 200 - even if the response doesn't suite the request.
I'm trying to do a graphql call and understand if there's an error, like using $? and --fail but it doesn't help ...
-1
votes
1
answer
2k
views
How do I catch the HTTP Error 429 "Retry-After" time in a try except scenario?
I have created a python script that uses urllib to get info from met.no. It goes like this:
from urllib.request import Request, urlopen
from urllib.error import HTTPError
from urllib.error import ...
1
vote
0
answers
23
views
My site is still showing http as i have already migrated from http to https
My question is how to remove the HTTP error in Google Search Console, As I have already migrated from HTTP to HTTPS, but still showing error of HTTP in search console. My website is https:/www....
0
votes
0
answers
28
views
Why do I ger "Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client"?
I have a Users class like below:
class Users {
static async findAll(req: Request, res: Response, next: NextFunction) {
await Pools.execute("SELECT * FROM users")
.then((rows) =...
1
vote
1
answer
214
views
Troubleshooting ‘Cannot GET /’ Error when running ‘Example Backend’ in Node
I am trying to run the ‘Example Backend’ from the Codecademy course ‘Setting Up Postman - Learn Express Routes’ as part of my path as a Back-End Engineer. However, when I try to access it in my ...