<?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: Sunandini</title>
    <description>The latest articles on DEV Community by Sunandini (@ukiyo).</description>
    <link>https://dev.to/ukiyo</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%2F1086712%2F03823a63-2a2d-400c-9b38-e2ec90898367.jpeg</url>
      <title>DEV Community: Sunandini</title>
      <link>https://dev.to/ukiyo</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/ukiyo"/>
    <language>en</language>
    <item>
      <title>Inconsistent "ResourceNotFoundException" Error When Updating User Attributes in AWS Cognito</title>
      <dc:creator>Sunandini</dc:creator>
      <pubDate>Thu, 10 Aug 2023 05:25:55 +0000</pubDate>
      <link>https://dev.to/ukiyo/inconsistent-resourcenotfoundexception-error-when-updating-user-attributes-in-aws-cognito-2kie</link>
      <guid>https://dev.to/ukiyo/inconsistent-resourcenotfoundexception-error-when-updating-user-attributes-in-aws-cognito-2kie</guid>
      <description>&lt;p&gt;I'm encountering an issue while updating user attributes in AWS Cognito. The problem is specific to the production environment and results in a "ResourceNotFoundException" error. I'm seeking insights from the community to help troubleshoot this inconsistency.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Problem:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;When attempting to update user attributes in the production environment, I consistently receive the following error message:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;"msg": {
  "message": "User pool us-east-2_******* does not exist.",
  "code": "ResourceNotFoundException",
  "time": "2023-08-09T11:32:50.538Z",
  "statusCode": 400
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Observations:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;The code works flawlessly in both development and staging environments without any errors during attribute updates.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Surprisingly, I connected my backend to the production database locally and tested the same code, resulting in successful attribute updates.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;However, using the same API request via Postman or in the production environment still triggers the "ResourceNotFoundException" error.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If you have encountered a similar issue or have insights into possible causes, your input would be greatly appreciated.&lt;/p&gt;

</description>
      <category>discuss</category>
      <category>aws</category>
    </item>
  </channel>
</rss>
