Questions tagged [http-status-code-415]

HTTP status code for Unsupported Media Type

This is usually because of typos in Content-Type header. Or in the rare case, where you're really sending unsupported media.

MDN Documentation

155 questions
0
votes
1 answer

Getting an 415 Error when posting to a SharePoint Calendar using an HTTP Request through Power Automate

I am attempting to update my SharePoint Events calendar using an HTTP Request step and so far I keep getting hung up on an 415 error. I see that my data is coming through in the tests, but it gets lost when it should post. The inputs are as…
0
votes
1 answer

JAVA OkHTTP3 Library gives me a 415 HTTP Error

I have found a solution to solve this issue. Check the first answer to this topic I've a problem with the library OkHTTP3. I want to join an API endpoint with the library. Firstly, I've created my request with Postman to test the API endpoint.…
Alexandre
  • 159
  • 1
  • 10
0
votes
1 answer

Keep getting Unsupported Media Type Error

My UI keeps getting an unsupported media type error when trying to get a response from an endpoint. Postman actually gets a success using the same body and headers, hence I really don't understand what is the issue, will try anything at this…
0
votes
0 answers

415 Unsupported Media Type error for Post request for Many to Many relationship

Course(class) @Id @GeneratedValue private int id; private String title; private String abbreviation; private int modules; private double fee; @ManyToMany(mappedBy = "courses",fetch = FetchType.LAZY) @JsonBackReference private Set
0
votes
1 answer

Why does the server refuses to accept the request and throws 415 error?

I'm trying to build a sign up form and connect frontend with a backend server using fetch. But I've come across with a problem, that the server doesn't approve the connection and throw 415 error, IntelliJ IDEA shows this errow "Content type…
0
votes
1 answer

415 Error when authenticating - Spring boot and RestTemplate

I am working on a third-party REST API and I am going to authenticate with their API by making a POST request to the provided end point. I tested this end point using Postman and it works fine, and now I wanted to do it programmatically. I am using…
user2486322
  • 847
  • 3
  • 13
  • 31
0
votes
0 answers

Modify nginx config file in Elasticbeanstalk to increase body size .platform folders not taking effect in my asp.net application

I tried to place .platform/nginx/conf.d/proxy.conf with code client_max_body_size 100M; but I am still getting error 413 Request Entity Too Large

413 Request Entity Too…

0
votes
1 answer

How to use two ContentTypes in one JSP(web app on Spring MVC): text/html && application/json

I'm developing a simple crud app without frontend, but I want to have a very simple visual for myself and the viewers. Now I have created a simple jsp-file with a set of tags 'a'. It was not difficult to complete all GET requests. However, POST…
0
votes
1 answer

Unsupported media type error with application/json specified

I am trying to access a public API with a POST Method and with the following JSON body: { "params": { "companyId":"620e91a211b42421733aa2b4" }, "id": "620e91a211b42421733aa2b4", …
ilsologheo00
  • 57
  • 1
  • 7
0
votes
0 answers

415 or 404 Error when axios post with form-data body

When testing POSTMAN it works good, but when testing in Client it returns 415 or 404 Errors. Body Format I have to send Client: request, file code 415 error or 404 error Code Axios Error response Console.log(request & file value) Where should I fix…
0
votes
1 answer

Getting 415 Error on updating using PUT method

I am using JWT spring security in backend and I would like to update user details in angular using PUT method. But I am getting 415 error on update. Update method in springboot controller @PutMapping("/UpdateUser/{id}") public ResponseEntity
0
votes
0 answers

Esp8266 Post Request returns error code 415

I am currently developing a project where I want esp8266 to send data to Blazor Server App which is hosted on server, but the problem is the Post request to Blazor's server app api keeps returning error code 415. #include #include…
0
votes
2 answers

Unsupported Media Type while PUT

I have a DRF server that accepts the following renders and parsers: "renders": [ "application/json", "text/html" ], "parses": [ "multipart/form-data", "application/x-www-form-urlencoded" ], When I am POSTing an image to…
0
votes
1 answer

MS Graph API message move - 415 unsupported media type

I have followed proper documentation and examples. Also other methods are working fine, but message move is not working properly. Please look at below and suggest what I should change: PS C:\> $body = @{ >> "destinationId" = "$folderid" >> } ##…
Sandeep Bhutani
  • 589
  • 7
  • 23
0
votes
0 answers

Unexpected HTTP 415 when sending JSON

Making an http request using axios to a spring backend and getting the following unexpected error. Resolved [org.springframework.web.HttpMediaTypeNotSupportedException: Content type 'application/json;charset=UTF-8' not supported] Isnt a 415 when the…
SwimMaster
  • 351
  • 3
  • 17