<?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: Preeti Nair</title>
    <description>The latest articles on DEV Community by Preeti Nair (@preetinair93).</description>
    <link>https://dev.to/preetinair93</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.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1102455%2Fc51c93c4-d58d-4bb0-ba0a-5641ca717d44.jpeg</url>
      <title>DEV Community: Preeti Nair</title>
      <link>https://dev.to/preetinair93</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/preetinair93"/>
    <language>en</language>
    <item>
      <title>Facing 429 status code error response issue in next js application</title>
      <dc:creator>Preeti Nair</dc:creator>
      <pubDate>Fri, 16 Jun 2023 06:07:31 +0000</pubDate>
      <link>https://dev.to/preetinair93/facing-429-status-code-error-response-issue-in-next-js-application-1l74</link>
      <guid>https://dev.to/preetinair93/facing-429-status-code-error-response-issue-in-next-js-application-1l74</guid>
      <description>&lt;p&gt;Hi, &lt;br&gt;
I am using a Nextjs React application with Nextjs  version 9.2.0 &amp;amp; React version 16.8.6. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Issue&lt;/strong&gt;: I am calling an api to resend email verification and when a user tries for more than 4 times to resend email, cloudflare will throw 429 status code in http header. The problem which i am facing is i am not getting any error response with status code 429. &lt;br&gt;
I am using axios's interceptors to get the response &lt;br&gt;
eg: instance.interceptors.response.use(function (response) {&lt;br&gt;
    // Do something with response data&lt;br&gt;
    return response.data;&lt;br&gt;
}, function (error) {&lt;br&gt;
    //getting error as undefined&lt;br&gt;
});&lt;/p&gt;

&lt;p&gt;where instance = axios.create({  });&lt;/p&gt;

&lt;p&gt;Could you please suggest a possible solution?&lt;/p&gt;

</description>
      <category>nextjs</category>
      <category>axios</category>
      <category>react</category>
    </item>
  </channel>
</rss>
