Questions tagged [400-bad-request]

39 questions
2
votes
1 answer

Getting 400 Bad Request while calling RestAPI in eclipse, but working in Postman

I have a function which takes 2 input - JSON filepath RestURL After calling the function, it should return the output as JSON. But the problem here, it is throwing 400 Bad request error. Below is the log of error which i am getting - Error Log…
2
votes
1 answer

Flutter Serverpod returns 400 error on sample project

I'm newly learning Serverpod version 0.9.21 as my backend, first I changed the Client address from http://localhost:8080/ to http://10.0.2.2:8080/ so the SocketException error had gone on the emulator and now the sample app (say hello) works…
Alireza Akbari
  • 2,153
  • 2
  • 28
  • 53
1
vote
1 answer

Django Rest Framework getting Bad Request:400 error with serializer errors that I thought I took care of but I can't figure out where I went wrong?

I am trying to make a post request through insomnia to create a snake instance, but I am getting a Bad Request:400 error. I printed the serializer errors and got this: { 'owner': [ErrorDetail(string='Incorrect type. Expected URL string, received…
1
vote
2 answers

Why am I getting 400 error "You cannot share this item because it has been flagged as inappropriate." using Google Drive api for file sharing

I have an app (Angular, Firebase, gCloud) that lets users manage their clients. The Google Drive integration allows the user to create and share Google Drive items with their clients. It has been working for years and then last week started throwing…
ToRoDome
  • 31
  • 2
0
votes
1 answer

How to debug a 400 error using Express and React

I am getting this in the browser console: `xhr.js:251 POST http://localhost:325/budget 400 (Bad Request) BudgetNew.js:30 catch AxiosError {message: 'Request failed with status code 400', name: 'AxiosError', code: 'ERR_BAD_REQUEST', config: {…},…
Noni P.
  • 11
  • 2
0
votes
1 answer

vRealize automation 400 BAD_REQUEST "920002

400 BAD_REQUEST "920002: Invoked action completed with error. Error : Action 'getEPGfromTag' in module 'com.vmware.library.tasks' failed : com.vmware.vapi.std.errors.unable_to_allocate_resource => {data=,…
giff1
  • 101
  • 1
  • 12
0
votes
1 answer

Flask error "BadRequestKeyError: 400 Bad Request: The browser (or proxy) sent a request that this server could not understand. "

So, I am learning Flask and trying to create an app that will display what I typed. Here's the python code: from flask import Flask, render_template, request, redirect, url_for app = Flask("hello") app.secret_key = "hello" @app.route('/') def…
0
votes
1 answer

Exporting events in Mixpanel with Python

This is the code to the problem. I am trying to export all the events from mixpanel but I am unable to do so. import requests from requests.auth import HTTPBasicAuth import base64 apisecret = '....' enc =…
0
votes
0 answers

Returning status 400 in gRPC with go

I am used to write Rest API endpoints, wherein we insert error codes like 400 directly in the response. return new ResponseEntity<>(HttpStatus.BAD_REQUEST); I have a piece of golang code(part of gRPC API) returning an error,…
Mandroid
  • 6,200
  • 12
  • 64
  • 134
0
votes
0 answers

Unable to cast object of type 'Microsoft.AspNetCore.Mvc.BadRequestObjectResult' to type

I'm working on a endpoint unit test for Controller and facing an error System.InvalidCastException : Unable to cast object of type 'Microsoft.AspNetCore.Mvc.BadRequestObjectResult' to type…
0
votes
0 answers

Throttle Violation in Stack Exchange APIs

I'm encountering an error while using the StackExchange APIs for my project. The error message states: "Error: 400 - too many requests from this IP, more requests available in 83980 seconds." The given time of 83980 seconds can be changed. Is…
0
votes
2 answers

Stripe webhook 400 error failed delivery with c# razor pages

I have created a web app that uses stripe to purchase something, and then I have a webhook that is to test the success of the purchase. I'm not using mvc so I don't have the [HTTP] tag that stripe docs use. I'm unsure if I'm doing this correctly in…
0
votes
0 answers

Post GraphQL PHP Query — Bad Request 400 Error

I am trying to use GraphQL to fetch this "Get Companies by ID" API by Harmonic AI[https://console.harmonic.ai/docs/api-reference/fetch#get-companies-by-id%5C] I am repeatedly getting a 400 Bad Request and tested the query, but for some reason there…
0
votes
0 answers

"400 Bad Request" error on my Nuxt-Strapi form?

I am currently creating a Nuxt-Strapi login/register form, but I am running into some difficulties. First, for my register form, when I click submit, I get this error on my console: POST http://localhost:1337/api/auth/local/register 400 (Bad…
0
votes
0 answers

What is causing 'size of a request header field exceeds limit' 400 bad request errors?

I have discovered some visitors to my websites are receiving '400 bad request' error messages. I haven't been able to replicate the problem, which is making it extremely difficult to fix. From inspecting the server logs it seems some users are…
1
2 3