<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Jithendra Kolusu</title>
    <description>The latest articles on DEV Community by Jithendra Kolusu (@jithendra_kolusu_a67a263e).</description>
    <link>https://dev.to/jithendra_kolusu_a67a263e</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F2109746%2Fa48c65c1-12fd-41ac-99b7-cac22bc2bdad.png</url>
      <title>DEV Community: Jithendra Kolusu</title>
      <link>https://dev.to/jithendra_kolusu_a67a263e</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/jithendra_kolusu_a67a263e"/>
    <language>en</language>
    <item>
      <title>i need help</title>
      <dc:creator>Jithendra Kolusu</dc:creator>
      <pubDate>Sun, 22 Sep 2024 15:25:18 +0000</pubDate>
      <link>https://dev.to/jithendra_kolusu_a67a263e/i-need-help-2oj1</link>
      <guid>https://dev.to/jithendra_kolusu_a67a263e/i-need-help-2oj1</guid>
      <description>&lt;p&gt;Hi everyone,&lt;/p&gt;

&lt;p&gt;I’m currently working on a project where I need to implement image upload functionality. However, I'm encountering a 404 error when trying to upload an image. The image upload process fails with the following details:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Error Code: 404 Not Found&lt;/strong&gt;&lt;br&gt;
Request URL: &lt;a href="http://localhost:3000/upload" rel="noopener noreferrer"&gt;http://localhost:3000/upload&lt;/a&gt;&lt;br&gt;
Method: POST&lt;br&gt;
Expected Behavior: The image should be uploaded successfully to the server.&lt;br&gt;
I’ve double-checked my route handling in both the front-end and back-end, but I’m still unable to resolve this issue. Here’s a brief overview of my setup:&lt;/p&gt;

&lt;p&gt;Front-end: I’m using React with Dropzone for image selection.&lt;br&gt;
Back-end: Using Next.js API routes to handle the upload request.&lt;br&gt;
Possible Issue: I suspect the error might be due to improper routing or a misconfiguration in my file &lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fqdrek90ksd3nuwv1s0zx.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fqdrek90ksd3nuwv1s0zx.png" alt="Image description" width="" height=""&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F1mxe1zhat7h7uothb8ts.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F1mxe1zhat7h7uothb8ts.png" alt="Image description" width="" height=""&gt;&lt;/a&gt;handling on the server-side.&lt;br&gt;
Things I've already checked:&lt;/p&gt;

&lt;p&gt;The upload route in Next.js is correctly set up in the pages/api/upload.ts.&lt;br&gt;
The POST request is being sent correctly from the front-end.&lt;br&gt;
No issues are reported in the browser's dev tools except for the 404 error.&lt;br&gt;
Has anyone faced a similar issue, or could anyone guide me on what might be going wrong? Any help or suggestions would be greatly appreciated.&lt;/p&gt;

</description>
      <category>react</category>
      <category>nextjs</category>
      <category>javascript</category>
      <category>prisma</category>
    </item>
  </channel>
</rss>
