---
title: "Discussion on \"How To Fix 415 Unsupported Media Type Error while File Upload\" | Hashnode"
description: "Discussion on \"How To Fix 415 Unsupported Media Type Error while File Upload\". Learn how to fix the 415 Unsupported Media Type error when uploading files and JSON objects together in form data."
url: "https://hashnode.com/posts/how-to-fix-415-unsupported-media-type-error-while-file-upload/64bbd9a5592cfab7ad8854c3"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How To Fix 415 Unsupported Media Type Error while File Upload](https://shbhuvnesh.hashnode.dev/how-to-fix-415-unsupported-media-type-error-while-file-upload?utm_source=hashnode&utm_medium=feed)

Learn how to fix the 415 Unsupported Media Type error when uploading files and JSON objects together in form data.

Jul 22, 2023 · 3 min read · shbhuvnesh.hashnode.dev  
Read the article

-   [#http](https://hashnode.com/tag/http)
-   [#error-handling](https://hashnode.com/tag/error-handling)
-   [#browser](https://hashnode.com/tag/browser)
-   [#unsupportedmediatypeerror](https://hashnode.com/tag/unsupportedmediatypeerror)
-   [#formdataupload](https://hashnode.com/tag/formdataupload)

## Written by

[Bhuvnesh Sharma](https://hashnode.com/@bhuvnesh)

@bhuvnesh · Bangalore

  
[View profile](https://hashnode.com/@bhuvnesh)

Software Engineer | Front end developer

Frontend developer @Zepto

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
