<?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: Shafia Rahman Chowdhury</title>
    <description>The latest articles on DEV Community by Shafia Rahman Chowdhury (@shafia).</description>
    <link>https://dev.to/shafia</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%2F783141%2Fe343a1b6-a465-4aee-98fd-d457ec3c6507.jpg</url>
      <title>DEV Community: Shafia Rahman Chowdhury</title>
      <link>https://dev.to/shafia</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/shafia"/>
    <language>en</language>
    <item>
      <title>Digital Marketing AI Coach</title>
      <dc:creator>Shafia Rahman Chowdhury</dc:creator>
      <pubDate>Sat, 05 Jul 2025 19:14:54 +0000</pubDate>
      <link>https://dev.to/shafia/digital-marketing-ai-coach-3bbm</link>
      <guid>https://dev.to/shafia/digital-marketing-ai-coach-3bbm</guid>
      <description>&lt;p&gt;&lt;em&gt;This is a submission for the &lt;a href="https://dev.to/challenges/runnerh"&gt;Runner H "AI Agent Prompting" Challenge&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What I Built
&lt;/h2&gt;

&lt;p&gt;I built a Digital Marketing AI Coach using Runner H that acts as a weekly performance coach for each member of my digital marketing team. It helps track how each member is doing based on their content submissions, deadlines, and social media engagement, and sends them custom tips to improve, along with creative content suggestions for next week.&lt;/p&gt;

&lt;p&gt;This agent not only saves me hours of reviewing content sheets and giving feedback but also keeps the whole team motivated and improving, week by week.&lt;/p&gt;

&lt;p&gt;As someone managing a content team, I face these problems every week:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Some team members post content on our dedicated social media platforms late or miss deadlines&lt;/li&gt;
&lt;li&gt;Not all content gets the engagement we expect&lt;/li&gt;
&lt;li&gt;It's hard to give personalized, timely feedback to everyone&lt;/li&gt;
&lt;li&gt;Creativity drops when people don’t know what to post next&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Instead of doing everything manually, I wanted a solution that could analyze performance, suggest improvements, and boost creativity for each member.&lt;/p&gt;

&lt;h2&gt;
  
  
  Demo
&lt;/h2&gt;

&lt;p&gt;Here is the PDF generated by Runner H: &lt;a href="https://drive.google.com/file/d/1Wp515LVfjtjCUjUsJrMxWWtL4zoGSDLX/view?usp=sharing" rel="noopener noreferrer"&gt;Digital Marketing AI Coach&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The screenshot of the automated mail sent and Runner H &lt;br&gt;
&lt;a href="https://drive.google.com/drive/folders/1LBSHpE7Hsr6VtE1YS0lPBweqTeaJdbno?usp=sharing" rel="noopener noreferrer"&gt;https://drive.google.com/drive/folders/1LBSHpE7Hsr6VtE1YS0lPBweqTeaJdbno?usp=sharing&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  How I Used Runner H
&lt;/h2&gt;

&lt;p&gt;Runner H acts as my AI content strategist.&lt;/p&gt;

&lt;p&gt;It reads our shared Google Sheet where we track content types, deadlines, engagement (likes), and whether each post was missed or not. Then for each person, Runner H:&lt;/p&gt;

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

&lt;ul&gt;
&lt;li&gt;How many tasks they completed per month compared to the given tasks per month (according to KPI)&lt;/li&gt;
&lt;li&gt;Which were late&lt;/li&gt;
&lt;li&gt;What kind of content performed best/worst&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Generates a personalized report:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Performance summary of each member&lt;/li&gt;
&lt;li&gt;Give improvement suggestions to the members&lt;/li&gt;
&lt;li&gt;Suggests one creative challenge to try (I call it a “Strategy Spin Card”)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Sends that report directly to the team member (via email)&lt;/strong&gt;&lt;br&gt;
&lt;strong&gt;Then it creates a manager summary:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Top performer of the week&lt;/li&gt;
&lt;li&gt;Missed deadlines overview&lt;/li&gt;
&lt;li&gt;What content types are working best&lt;/li&gt;
&lt;li&gt;Suggests what to improve across the team&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  The Prompt I Gave Runner H
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Access the Google Sheet at:

[Insert Google Sheet Link]

This sheet contains the following columns:

Deadline | Posted Date | Content Type | Topic | Platform | Assigned To | Status | Is Missed | Likes | Rating

TASK 1: Individual Performance Reports
For each unique person in the "Assigned To" column:

- Analyze their weekly data:
- Total content pieces submitted
- Number of missed deadlines (Is Missed = Yes)
- Average engagement (Likes)
- Highest- and lowest-performing content types (based on Likes)

Generate a personalized weekly report that includes:

- What they did well
- What they need to improve
- Two new content ideas for next week based on:
- Their strong formats
- Weak engagement areas
- Platform trends

A randomly assigned "Strategy Spin Card" from:

“Use a trending reel audio”

“Post a behind-the-scenes video”

“Ask a thought-provoking poll”

“Turn a meme into a carousel”

“Start your post with a question”

Send the report to each person via email. [email]


TASK 2: Manager Weekly Summary

Generate a summary email/report for the team manager that includes:

Stats:

- Total content published this week
- Overall engagement average
- Overall % of deadlines met (vs missed)
- Top 3 most used content types

Highlights:

- Top performer (by average Likes)
- Most improved member (compared to last week)
- Most effective content type (team-wide)

 Recommendations:

- If engagement is down, suggest new post types
- If one format is repeated too much, suggest variety

OUTPUT FORMAT

Send each team member a friendly message with their personal stats, tips, and creativity challenge.


OBJECTIVE
Keep the team aligned, inspired, and improving using weekly performance insights and creative nudges.

Encourage content diversity and reduce the manager workload.

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Use Case &amp;amp; Impact
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Use Case
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;Who It’s For:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Team leads or managers who oversee content creators, interns, or marketing teams&lt;/li&gt;
&lt;li&gt;Startups or small businesses relying on consistent social media presence&lt;/li&gt;
&lt;li&gt;Creative teams needing structured, weekly performance insights&lt;/li&gt;
&lt;li&gt;Organizations that track content output via Google Sheets or Notion but struggle with timely feedback and motivation&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;What It Solves:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Lack of real-time, personalized feedback for team members&lt;/li&gt;
&lt;li&gt;Time-consuming manual performance tracking and reviews&lt;/li&gt;
&lt;li&gt;Team members unsure of what content types to try next&lt;/li&gt;
&lt;li&gt;Missed deadlines and inconsistent creativity&lt;/li&gt;
&lt;li&gt;No visibility into what’s actually working on social media&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Impact
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;For Managers:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Saves 3–5 hours weekly on performance reviews&lt;/li&gt;
&lt;li&gt;Eliminates the need to manually check content metrics&lt;/li&gt;
&lt;li&gt;Offers a clear team-wide performance snapshot every week&lt;/li&gt;
&lt;li&gt;Makes it easy to track progress and see who needs support&lt;/li&gt;
&lt;li&gt;Encourages a growth-focused culture, not just output&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;For Team Members:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Receives personalized coaching without feeling micromanaged&lt;/li&gt;
&lt;li&gt;Gains insight into what content worked or didn’t, with reasons&lt;/li&gt;
&lt;li&gt;Feels more motivated and accountable thanks to weekly feedback&lt;/li&gt;
&lt;li&gt;Gets new, fun content suggestions to stay creative&lt;/li&gt;
&lt;li&gt;Encouraged to experiment and level up their strategy&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;For the Brand:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Increases content quality and consistency&lt;/li&gt;
&lt;li&gt;Boosts overall engagement through data-informed strategy&lt;/li&gt;
&lt;li&gt;Ensures the team is aligned with goals and creative direction&lt;/li&gt;
&lt;li&gt;Promotes continuous improvement in a lightweight, human-friendly way&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>devchallenge</category>
      <category>runnerhchallenge</category>
      <category>ai</category>
      <category>machinelearning</category>
    </item>
    <item>
      <title>Facing authentication errors on GitHub? Check out this blog for a step-by-step guide to resolving it!</title>
      <dc:creator>Shafia Rahman Chowdhury</dc:creator>
      <pubDate>Tue, 03 Dec 2024 17:00:03 +0000</pubDate>
      <link>https://dev.to/shafia/facing-authentication-errors-on-github-check-out-this-blog-for-a-step-by-step-guide-to-resolving-4he1</link>
      <guid>https://dev.to/shafia/facing-authentication-errors-on-github-check-out-this-blog-for-a-step-by-step-guide-to-resolving-4he1</guid>
      <description>&lt;div class="ltag__link"&gt;
  &lt;a href="/shafia" class="ltag__link__link"&gt;
    &lt;div class="ltag__link__pic"&gt;
      &lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F783141%2Fe343a1b6-a465-4aee-98fd-d457ec3c6507.jpg" alt="shafia"&gt;
    &lt;/div&gt;
  &lt;/a&gt;
  &lt;a href="https://dev.to/shafia/support-for-password-authentication-was-removed-please-use-a-personal-access-token-instead-4nbk" class="ltag__link__link"&gt;
    &lt;div class="ltag__link__content"&gt;
      &lt;h2&gt;Support for password authentication was removed. Please use a personal access token instead.&lt;/h2&gt;
      &lt;h3&gt;Shafia Rahman Chowdhury ・ Jul 4 '23&lt;/h3&gt;
      &lt;div class="ltag__link__taglist"&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/a&gt;
&lt;/div&gt;


</description>
    </item>
    <item>
      <title>Error-: src refspec main does not match</title>
      <dc:creator>Shafia Rahman Chowdhury</dc:creator>
      <pubDate>Wed, 03 Jan 2024 08:00:23 +0000</pubDate>
      <link>https://dev.to/shafia/error-src-refspec-main-does-not-match-jph</link>
      <guid>https://dev.to/shafia/error-src-refspec-main-does-not-match-jph</guid>
      <description>&lt;h2&gt;
  
  
  &lt;u&gt;&lt;strong&gt;Error-: src refspec main does not match any&lt;/strong&gt;&lt;/u&gt;
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F8r4xubiwsge84r0iookh.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F8r4xubiwsge84r0iookh.png" alt=" " width="800" height="424"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This error message usually indicates that the branch you're attempting to push does not exist.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;u&gt;Solution-1&lt;/u&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Check if you have missed the command &lt;code&gt;git add .&lt;/code&gt; or &lt;code&gt;git commit -m"message&lt;/code&gt;. If so, then delete the terminal and write the git commands again.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;u&gt;Solution-2&lt;/u&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 1:&lt;/strong&gt; Go to GitHub &lt;strong&gt;Settings&lt;/strong&gt; and then go to &lt;strong&gt;Emails&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step-2:&lt;/strong&gt; Uncheck &lt;strong&gt;Keep my email addresses private&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fbhblbyqjyf00430xiu48.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fbhblbyqjyf00430xiu48.png" alt=" " width="800" height="422"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step-3:&lt;/strong&gt; Push your code again&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;u&gt;Solution-2&lt;/u&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Open your &lt;strong&gt;Git bash terminal&lt;/strong&gt; and run the following commands one by one:&lt;/p&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;

rm -rf .git
git init
git add .
git commit -m "added"
git branch -M main
git remote add origin &amp;lt;YOUR_GITHUB_REPO_LINK&amp;gt;
git push -u origin main -f


Happy Coding!
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

</description>
      <category>git</category>
      <category>github</category>
      <category>errors</category>
      <category>refspec</category>
    </item>
    <item>
      <title>Error: (e.g git pull..) before pushing again</title>
      <dc:creator>Shafia Rahman Chowdhury</dc:creator>
      <pubDate>Mon, 01 Jan 2024 14:28:34 +0000</pubDate>
      <link>https://dev.to/shafia/error-eg-git-pull-before-pushing-again-kl3</link>
      <guid>https://dev.to/shafia/error-eg-git-pull-before-pushing-again-kl3</guid>
      <description>&lt;p&gt;The error below takes place when you edit your file directly from github as a result code in local file and file github file does not match.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F7zgg19scrmwwkyn57vw7.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F7zgg19scrmwwkyn57vw7.png" alt=" " width="800" height="450"&gt;&lt;/a&gt;&lt;br&gt;
Go to your terminal again and run these commands&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;u&gt;Solution-1&lt;/u&gt;&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;git pull
git push origin main
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;&lt;u&gt;Solution-2 (not recommended)&lt;/u&gt;&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;git push -f
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;By following these steps, you should be able to synchronize your local changes with the changes on GitHub and avoid conflicts.&lt;/p&gt;

</description>
      <category>git</category>
      <category>github</category>
      <category>errors</category>
      <category>gitpull</category>
    </item>
    <item>
      <title>Requested URL returned error: 403</title>
      <dc:creator>Shafia Rahman Chowdhury</dc:creator>
      <pubDate>Mon, 01 Jan 2024 13:46:58 +0000</pubDate>
      <link>https://dev.to/shafia/requested-url-returned-error-403-1pfm</link>
      <guid>https://dev.to/shafia/requested-url-returned-error-403-1pfm</guid>
      <description>&lt;p&gt;The image below shows a 403 error which means means credentials errors or forbidden (you don’t have permission to push). &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fsxxyohqctd20g459q7nr.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fsxxyohqctd20g459q7nr.png" alt=" " width="800" height="101"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;Solution-1&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Step-1:&lt;/strong&gt; Check if you are pushing the code to your repository&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;git remote -v
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Step-2:&lt;/strong&gt; If it is not your repository, open a new repository in your GitHub&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F47lw0jjkqhgana3r1e8a.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F47lw0jjkqhgana3r1e8a.png" alt=" " width="782" height="293"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step-3:&lt;/strong&gt; Copy your repository link&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fwsq498308yzjglmek1aq.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fwsq498308yzjglmek1aq.png" alt=" " width="800" height="99"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step-4:&lt;/strong&gt; Go to the terminal and write the following command:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;git remote set-url origin your-repo-link
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;After the entering command, check if the git repository url changed. Write &lt;strong&gt;git remote -v&lt;/strong&gt; on your terminal.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step-5:&lt;/strong&gt; Then, run these commands one by one&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;git branch -M main
git push -u origin main
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  &lt;strong&gt;Solution-2&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Step-1:&lt;/strong&gt; Go to your Start tab on windows and search for Credential Manager. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fkrlurifxtp3isn3yxfb6.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fkrlurifxtp3isn3yxfb6.png" alt=" " width="676" height="432"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step-2:&lt;/strong&gt; Click on the Credential Manager and then click on Windows Credential&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F2ahnthbn95xcepv2o52k.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F2ahnthbn95xcepv2o52k.png" alt=" " width="800" height="768"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step-3:&lt;/strong&gt; Below, Generic Credentials you will see git:&lt;a href="https://github.com" rel="noopener noreferrer"&gt;https://github.com&lt;/a&gt;. Remove it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step-4&lt;/strong&gt; Follow the steps in this blog&lt;br&gt;
&lt;a href="https://dev.to/shafia/support-for-password-authentication-was-removed-please-use-a-personal-access-token-instead-4nbk"&gt;https://dev.to/shafia/support-for-password-authentication-was-removed-please-use-a-personal-access-token-instead-4nbk&lt;/a&gt;&lt;/p&gt;

</description>
      <category>github</category>
      <category>git</category>
      <category>errors</category>
      <category>403</category>
    </item>
    <item>
      <title>Take your JavaScript skills to the next level with these 10 GitHub repositories 🕵️‍♂️ 🚀</title>
      <dc:creator>Shafia Rahman Chowdhury</dc:creator>
      <pubDate>Tue, 03 Oct 2023 12:57:26 +0000</pubDate>
      <link>https://dev.to/shafia/take-your-javascript-skills-to-the-next-level-with-these-10-github-repositories-3f2l</link>
      <guid>https://dev.to/shafia/take-your-javascript-skills-to-the-next-level-with-these-10-github-repositories-3f2l</guid>
      <description>&lt;p&gt;এই ব্লগটিতে,  ১০টি helpful গিটহাব links দেওয়া হয়েছে। JavaScript skills যদি next level এ নিয়ে যেতে চান then explore the repositories given below. It's worth your time!!! 🕰&lt;/p&gt;




&lt;h2&gt;
  
  
  1. &lt;a href="https://github.com/lydiahallie/javascript-questions" rel="noopener noreferrer"&gt;JavaScript questions&lt;/a&gt; 🤔
&lt;/h2&gt;

&lt;p&gt;এই repository তে আছে:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;কোডিং রিলেটেড interview questions,&lt;/li&gt;
&lt;li&gt;আপনার JS knowledge brush up হবে,&lt;/li&gt;
&lt;li&gt;কতো ভালো JS পারেন সেটা assess করতে পারবেন&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;এখানে basic থেকে advanced level এর questions আছে এবং প্রতিটা questions এর নিচে correct answer &amp;amp; explanation দেওয়া হয়েছে যেটা ক্লিক করলে দেখতে পারবেন। &lt;strong&gt;(Do not see the answer before trying!👀)&lt;/strong&gt; &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fezjfbxymjg9v2oasfi2u.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fezjfbxymjg9v2oasfi2u.png" alt=" " width="800" height="467"&gt;&lt;/a&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  2. &lt;a href="https://github.com/leonardomso/33-js-concepts" rel="noopener noreferrer"&gt;33 Concepts Every JavaScript Developer Should Know&lt;/a&gt; 👨🏻‍🏫
&lt;/h2&gt;

&lt;p&gt;৩৩টা concept নিয়ে এই repository তৈরি করা হয়েছে।একটা ভালো JavaScript Developer হতে চাইলে এই concept গুলো জানা খুব দরকার।&lt;/p&gt;

&lt;p&gt;এই repository আছে:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Articles,&lt;/li&gt;
&lt;li&gt;Videos,&lt;/li&gt;
&lt;li&gt;Books&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fsvpah65qsqxx78h5rg5h.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fsvpah65qsqxx78h5rg5h.png" alt=" " width="800" height="469"&gt;&lt;/a&gt;&lt;/p&gt;




&lt;h1&gt;
  
  
  3. &lt;a href="https://github.com/denysdovhan/wtfjs" rel="noopener noreferrer"&gt;WTFJS&lt;/a&gt; 😮
&lt;/h1&gt;

&lt;p&gt;JavaScript এর কিছু tricky concepts আছে যেটা অনেকের বুঝতে difficult হয়, especially for the beginners. যেমন ধরেনঃ&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;NaN === NaN; // -&amp;gt; false
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;false কেন??&lt;/p&gt;

&lt;p&gt;এই repository তে আছে &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;tricky concepts examples with detailed explanation &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fpyvj0xx9zx3l4l2gss1q.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fpyvj0xx9zx3l4l2gss1q.png" alt=" " width="800" height="468"&gt;&lt;/a&gt;&lt;/p&gt;




&lt;h1&gt;
  
  
  4. &lt;a href="https://github.com/getify/You-Dont-Know-JS" rel="noopener noreferrer"&gt;You don't know JS&lt;/a&gt; 🤯
&lt;/h1&gt;

&lt;p&gt;যদি JavaScript সম্পর্কে in-depth knowledge grow করতে চান তাহলে এই repository ফলো করতে পারেন। এখানে JavaScript এর core mechanism নিয়ে detailed explanation আছে &lt;/p&gt;

&lt;p&gt;এখানে আছেঃ &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Kyle Simpson's  এর 1st &amp;amp; 2nd editions book (completely free!) &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fgaigy3anbj9dmp6efg3b.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fgaigy3anbj9dmp6efg3b.png" alt=" " width="800" height="468"&gt;&lt;/a&gt; &lt;/p&gt;




&lt;h1&gt;
  
  
  5. &lt;a href="https://github.com/airbnb/javascript" rel="noopener noreferrer"&gt;Airbnb JavaScript style guide&lt;/a&gt; 🤩
&lt;/h1&gt;

&lt;p&gt;এই repository টা খুব popular internet এ। এখানে কিছু set of guidelines &amp;amp; best practices আছে।It's written by the Airbnb team!😱&lt;/p&gt;

&lt;p&gt;এখানে আছে :&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;good code &amp;amp; bad code with explanation&lt;/li&gt;
&lt;li&gt;recommendations on various JS topics&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F9cr9dq3f4nj1j8hgmih4.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F9cr9dq3f4nj1j8hgmih4.png" alt=" " width="800" height="469"&gt;&lt;/a&gt;&lt;/p&gt;




&lt;h1&gt;
  
  
  6. &lt;a href="https://github.com/yangshun/tech-interview-handbook" rel="noopener noreferrer"&gt;Tech interview handbook&lt;/a&gt; 👩‍💻
&lt;/h1&gt;

&lt;p&gt;500,000 people এই repository টা follow করে benefitted হয়েছে। Tech interview জন্য এখানে কিছু useful resources দেওয়া হয়েছে। &lt;/p&gt;

&lt;p&gt;এখানে আছে :&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt; content covering all phases of a technical interview, from applying for a job to &lt;strong&gt;passing the interviews&lt;/strong&gt; to &lt;strong&gt;offer negotiation&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Totally worth checking out!&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F2hqr6ylf130xm97azhqu.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F2hqr6ylf130xm97azhqu.png" alt=" " width="800" height="469"&gt;&lt;/a&gt;&lt;/p&gt;




&lt;h1&gt;
  
  
  7. &lt;a href="https://github.com/TheAlgorithms/Javascript" rel="noopener noreferrer"&gt;The Algorithm - Javascript&lt;/a&gt; 📱
&lt;/h1&gt;

&lt;p&gt;Competitive programming এর জন্য  খুব হেল্পফুল এবং internet এ বেশ জনপ্রিয়। মাঝে মাঝে কিছু algorithms/data structures নিয়ে interview তে question করে তাই এই repository টা explore করা recommended। &lt;/p&gt;

&lt;p&gt;এখানে আছে :&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;data structures &amp;amp; algorithm implementation&lt;/li&gt;
&lt;li&gt;algorithms from the basic &lt;strong&gt;sorting&lt;/strong&gt; and &lt;strong&gt;searching&lt;/strong&gt; to complex ones such as &lt;strong&gt;dynamic programming&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Falnej5879q3lqgltbu25.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Falnej5879q3lqgltbu25.png" alt=" " width="800" height="468"&gt;&lt;/a&gt;&lt;/p&gt;




&lt;h1&gt;
  
  
  8. &lt;a href="https://github.com/sorrycc/awesome-javascript" rel="noopener noreferrer"&gt;Awesome JavaScript&lt;/a&gt; 🔥
&lt;/h1&gt;

&lt;p&gt;এখানে আছে links to useful:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;package managers, &lt;/li&gt;
&lt;li&gt;loaders, &lt;/li&gt;
&lt;li&gt;bundlers and transpilers to UI tools, &lt;/li&gt;
&lt;li&gt;utilities, &lt;/li&gt;
&lt;li&gt;gestures, &lt;/li&gt;
&lt;li&gt;maps, &lt;/li&gt;
&lt;li&gt;animation, etc.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This can be one of most useful resource out there if you take proper advantage of it!&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fym87flrlxixxbqo1jt2f.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fym87flrlxixxbqo1jt2f.png" alt=" " width="800" height="466"&gt;&lt;/a&gt;&lt;/p&gt;




&lt;h1&gt;
  
  
  9. &lt;a href="https://gist.github.com/rondy/af1dee1d28c02e9a225ae55da2674a6f" rel="noopener noreferrer"&gt;Effective Engineer Notes&lt;/a&gt; 👩‍🔧
&lt;/h1&gt;

&lt;p&gt;একজন effective engineer কিভাবে হতে পারবেন সেটা নিয়ে কিছু guidelines এই repository তে দেওয়া হয়েছে। এটা ফলো করলে আপনার &lt;strong&gt;decision-making&lt;/strong&gt; and &lt;strong&gt;logical thinking&lt;/strong&gt; আরও বেটার হবে। &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fkyosf7jdgp166xyf82b8.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fkyosf7jdgp166xyf82b8.png" alt=" " width="800" height="468"&gt;&lt;/a&gt;&lt;/p&gt;




&lt;h1&gt;
  
  
  10. &lt;a href="https://github.com/EbookFoundation/free-programming-books" rel="noopener noreferrer"&gt;Free programming books&lt;/a&gt; 📚
&lt;/h1&gt;

&lt;p&gt;এখানে collection of useful books &amp;amp; tutorials দেওয়া হয়েছে। খুব famous একটা repository এবং GitHub এ 271,000+ stars আছে.🤯&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F3alz71rqnylykdjfg67a.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F3alz71rqnylykdjfg67a.png" alt=" " width="800" height="468"&gt;&lt;/a&gt;&lt;/p&gt;




&lt;p&gt;Happy exploring!👋&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>repositories</category>
      <category>webdev</category>
    </item>
    <item>
      <title>Authentication and Authorization</title>
      <dc:creator>Shafia Rahman Chowdhury</dc:creator>
      <pubDate>Tue, 03 Oct 2023 08:37:19 +0000</pubDate>
      <link>https://dev.to/shafia/authentication-and-authorization-17b3</link>
      <guid>https://dev.to/shafia/authentication-and-authorization-17b3</guid>
      <description>&lt;p&gt;&lt;strong&gt;Authentication&lt;/strong&gt; এবং &lt;strong&gt;Authorization&lt;/strong&gt; মৌলিকভাবে বিভিন্ন ফাংশন উপস্থাপন করে, যদিও প্রায়শই তারা interchangeably ব্যবহৃত হয়। এই আর্টিকেলে, আমরা দুটির আলোচনা, তুলনা ও বৈসাদৃশ্য করি তা দেখানোর জন্য যে তারা কীভাবে complementary উপায়ে অ্যাপ্লিকেশনগুলিকে রক্ষা করে। তবে, তার আগে আমরা আরেকটা জিনিস সম্পর্কে সাধারণ ধারণা জেনে নি। সেটি হলো &lt;strong&gt;Introduction to Identity and Access Management (IAM)&lt;/strong&gt;।&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;Identity and Access Management (IAM) কি&lt;/strong&gt;?
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;IAM&lt;/strong&gt; বোঝার জন্য, আপনাকে কিছু মৌলিক ধারণার সাথে পরিচিত হতে হবে:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;একটি &lt;strong&gt;digital resource&lt;/strong&gt; (ডিজিটাল রিসোর্স) হল একটি কম্পিউটার সিস্টেমে অ্যাপ্লিকেশন এবং ডেটার যে কোনো সমন্বয়/combination। ডিজিটাল রিসোর্সের উদাহরণগুলির মধ্যে রয়েছে ওয়েব অ্যাপ্লিকেশন, APIs, প্ল্যাটফর্ম, ডিভাইস বা ডেটাবেস।&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;আইএএম এর মূল হল &lt;strong&gt;Identity&lt;/strong&gt;। কেউ আপনার ডিজিটাল রিসোর্সের অ্যাক্সেস চায়। এটি একজন &lt;strong&gt;customer, employee, member, participant&lt;/strong&gt; এবং আরও অনেক কিছু হতে পারে। আইএএম-এ, একটি ব্যবহারকারী অ্যাকাউন্ট হচ্ছে একটি ডিজিটাল আইডেন্টিটি বা পরিচয়। ব্যবহারকারীর অ্যাকাউন্টগুলি &lt;strong&gt;non-human&lt;/strong&gt; কেও represent করতে পারে, যেমন সফ্টওয়্যার, ইন্টারনেট অফ থিংস ডিভাইস বা রোবোটিক্স৷&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fy5wou99l64x93w9ayzmd.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fy5wou99l64x93w9ayzmd.png" alt=" " width="512" height="147"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fqkwf6wuv9zpckdsq3yjl.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fqkwf6wuv9zpckdsq3yjl.png" alt=" " width="512" height="147"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Authentication&lt;/strong&gt; হল একটি ডিজিটাল আইডেন্টিটি &lt;strong&gt;verification&lt;/strong&gt;। যখন ইউজাররা  &lt;strong&gt;authenticate&lt;/strong&gt; করে তখন তারা ঐ সাইটে বা অ্যাপে এইটা prove করে যে তারা সেই ব্যবহারকারী যা তারা claim করে।&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Authorization&lt;/strong&gt; হল ব্যবহারকারী কোন রিসোর্স অ্যাক্সেস করতে পারে তা নির্ধারণ করার প্রসেস।&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;IAM কি করে&lt;/strong&gt;?
&lt;/h2&gt;

&lt;p&gt;আইডেন্টিটি এবং অ্যাক্সেস ম্যানেজমেন্ট আপনাকে ব্যবহারকারীর &lt;strong&gt;validation&lt;/strong&gt; এবং resource অ্যাক্সেসের উপর নিয়ন্ত্রণ দেয়:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;কিভাবে ব্যবহারকারীরা আপনার সিস্টেমের একটি অংশ হয়ে ওঠে&lt;/li&gt;
&lt;li&gt;ব্যবহারকারীর কোন তথ্য সংরক্ষণ করতে হবে&lt;/li&gt;
&lt;li&gt;কিভাবে ব্যবহারকারীরা তাদের আইডেন্টিটি প্রমাণ করতে পারেন&lt;/li&gt;
&lt;li&gt;কখন এবং কত frequently ব্যবহারকারীদের তাদের পরিচয় authenticate করতে হবে&lt;/li&gt;
&lt;li&gt;কোন ব্যাবহারকারী কোন রিসোর্স অ্যাকসেস করতে পারবে এবং কোন রিসোর্স  পারবে না তা নির্ধারণ করা&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;Authentication এবং Authorization&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Authentication&lt;/strong&gt; এবং &lt;strong&gt;Authorization&lt;/strong&gt; এই দুইটা টার্ম একজন ইউজারের কাছে কনফিউজিং মনে হয়। এইটা হওয়াটা খুবই স্বাভাবিক। কারণ, এই দুটিই একজন ইউজারের কাছে একই experience মনে হয় যখন সে কোনো সিস্টেম ব্যাবহার করে। তবে, এগুলি দুটি পৃথক প্রক্রিয়া: &lt;strong&gt;authentication&lt;/strong&gt; ব্যবহারকারীর পরিচয় প্রমাণ করে,আর অন্যদিকে &lt;strong&gt;authorization&lt;/strong&gt; নির্দিষ্ট রিসোর্সগুলিতে ব্যবহারকারীর অ্যাক্সেসকে &lt;strong&gt;grant&lt;/strong&gt; করে বা &lt;strong&gt;deny&lt;/strong&gt; করে।&lt;/p&gt;

&lt;p&gt;আপনি একটি অফিস বিল্ডিংয়ের নিরাপত্তা ব্যবস্থা হিসাবে &lt;strong&gt;Authentication&lt;/strong&gt; এবং &lt;strong&gt;Authorization&lt;/strong&gt; এর কথা ভাবতে পারেন। ব্যবহারকারীরা হল সেই ব্যক্তি যারা বিল্ডিংয়ে প্রবেশ করতে চান। লোকেরা যে সম্পদগুলি অ্যাক্সেস করতে চায় সেগুলি হল বিল্ডিংয়ের area গুলি: মেঝে, কক্ষ এবং আরও অনেক কিছু৷&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Authentication:&lt;/strong&gt; আপনি যখন বিল্ডিংয়ে প্রবেশ করবেন, আপনাকে অবশ্যই আপনার ফটো আইডি ব্যাজটি নিরাপত্তারক্ষীকে দেখাতে হবে। প্রহরী ব্যাজের ছবির সাথে আপনার মুখের তুলনা করে।যদি তারা মিলে যায়, গার্ড আপনাকে দরজা দিয়ে বিল্ডিংয়ের বিভিন্ন এলাকায় প্রবেশ করার চেষ্টা করতে দেয়। আপনি কোন কক্ষে প্রবেশ করতে পারবেন তা গার্ড আপনাকে বলে না; তারা শুধুমাত্র প্রমাণ চায় যে আপনি নিজেকে যে লোক হিসেবে দাবি করেছেন, সে লোকটা আপনি কিনা। এটি হল &lt;strong&gt;authentication:&lt;/strong&gt; ব্যবহারকারীর পরিচয় নিশ্চিত করা।&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fu977z6woedbhrttwo32u.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fu977z6woedbhrttwo32u.png" alt=" " width="512" height="300"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Authorization:&lt;/strong&gt; এই scenario-তে, কল্পনা করুন যে আপনি যে কোম্পানিতে চাকরি করেন সেটি একটি বিল্ডিংয়ে অবস্থিত। সাথে আরও অনেকের কোম্পানীও আছে ঐ বিল্ডিংয়ে। বিল্ডিংয়ের লিফট এবং দরজাগুলিতে অ্যাক্সেসের জন্য কিছু &lt;strong&gt;key-sensors&lt;/strong&gt; রয়েছে। আপনার ব্যাজের সিকিউরিটি-চিপ আপনাকে শুধুমাত্র প্রথম তলায় অ্যাক্সেস দেয়, যেটি আপনার কোম্পানির জন্য বরাদ্ধ। আপনি অন্য কোনো ফ্লোরে প্রবেশ করতে আপনার ব্যাজ সোয়াইপ করলে, আপনার অ্যাক্সেস ডিনাই করা হবে। ঠিক একইভাবে, আপনি আপনার অফিসে শুধুমাত্র আপনার ডেস্ক &lt;strong&gt;access&lt;/strong&gt; করতে পারেন। কিন্তু আপনার সহকর্মীদের ডেস্ক আক্সেসে আপনার পারমিশন নেই। আবার, আপনি সরবরাহ রুম প্রবেশ করতে পারেন কিন্তু সার্ভার রুম না। এটিই হল &lt;strong&gt;Authorization:&lt;/strong&gt; পরিচয়ের উপর ভিত্তি করে বিভিন্ন রিসোর্সগুলিতে অ্যাক্সেস প্রদান এবং অস্বীকার করা।&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fmxsrg7xoq58i56zr72uw.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fmxsrg7xoq58i56zr72uw.png" alt=" " width="512" height="372"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;এখন &lt;strong&gt;authentication&lt;/strong&gt; এবং &lt;strong&gt;authorization&lt;/strong&gt; এর পার্থক্যগুলির একটা কুইক রিভিউ দেখে ফেলিঃ &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fceagbzregexr4ej2iwb4.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fceagbzregexr4ej2iwb4.png" alt=" " width="798" height="510"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;সংক্ষেপে, একটি &lt;strong&gt;resource&lt;/strong&gt; এর অ্যাক্সেস &lt;strong&gt;authentication&lt;/strong&gt; এবং &lt;strong&gt;authorization&lt;/strong&gt; উভয় দ্বারা &lt;strong&gt;protected&lt;/strong&gt;।  আপনি যদি আপনার পরিচয় প্রমাণ করতে না পারেন, তাহলে আপনাকে কোনো রিসোর্সে প্রবেশের অনুমতি দেওয়া হবে না। এবং এমনকি যদি আপনি আপনার পরিচয় প্রমাণ করতে পারেন, আপনি যদি সেই রিসোর্সের জন্য অনুমোদিত(authorized) না হন, তাহলেও আপনাকে অ্যাক্সেস থেকে বঞ্চিত করা হবে। &lt;/p&gt;

</description>
      <category>authentication</category>
      <category>authorization</category>
    </item>
    <item>
      <title>Support for password authentication was removed. Please use a personal access token instead.</title>
      <dc:creator>Shafia Rahman Chowdhury</dc:creator>
      <pubDate>Tue, 04 Jul 2023 13:07:03 +0000</pubDate>
      <link>https://dev.to/shafia/support-for-password-authentication-was-removed-please-use-a-personal-access-token-instead-4nbk</link>
      <guid>https://dev.to/shafia/support-for-password-authentication-was-removed-please-use-a-personal-access-token-instead-4nbk</guid>
      <description>&lt;p&gt;While pushing some codes into your GitHub repository you may encounter the error &lt;strong&gt;"Support for password authentication was removed. Please use a personal access token instead."&lt;/strong&gt; as shown in the picture below&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F1vg44dnbnb1tufy752xw.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F1vg44dnbnb1tufy752xw.png" alt=" " width="800" height="204"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Starting from August 13, 2021, GitHub has stopped accepting passwords for verifying Git operations on user accounts. Instead, you will need to use a Personal Access Token (PAT) in place of your password. To add a PAT to your system, you can follow the steps outlined below.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 1:&lt;/strong&gt; Go to your &lt;strong&gt;GitHub Account&lt;/strong&gt; and then go to the &lt;strong&gt;Settings&lt;/strong&gt;(click on your profile account and you will find the Settings option there)&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 2:&lt;/strong&gt; Scroll down and at the sidebar you will see the &lt;strong&gt;Developer Settings&lt;/strong&gt; option. Click on &lt;strong&gt;Developer Settings&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ft534ukqape6hpj8aooeo.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ft534ukqape6hpj8aooeo.png" alt=" " width="800" height="382"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 3:&lt;/strong&gt; Click on &lt;strong&gt;Personal access tokens&lt;/strong&gt; and then click on &lt;strong&gt;Tokens (classic)&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F51v3o8zuxa4nhw0ry65b.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F51v3o8zuxa4nhw0ry65b.png" alt=" " width="387" height="136"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 4:&lt;/strong&gt; Click on &lt;strong&gt;Generate new token&lt;/strong&gt; and then click on &lt;strong&gt;Generate new token (classic)&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fnaek7ocg6qchiir0nmot.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fnaek7ocg6qchiir0nmot.png" alt=" " width="800" height="204"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Step 5: Fill-up the &lt;strong&gt;Note&lt;/strong&gt; field, select &lt;strong&gt;No expiration&lt;/strong&gt; and then select the checkboxes as shown in the picture&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fsv1jvy9a82iudnypkxsd.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fsv1jvy9a82iudnypkxsd.png" alt=" " width="800" height="488"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F9zz6nzqcdiccv7j6gnag.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F9zz6nzqcdiccv7j6gnag.png" alt=" " width="800" height="448"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 6:&lt;/strong&gt; Click on the &lt;strong&gt;Generate token&lt;/strong&gt;. Your token is created!. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fd63uyh66kiq3i6ukcqeg.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fd63uyh66kiq3i6ukcqeg.png" alt=" " width="800" height="268"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 7:&lt;/strong&gt; Copy the token and paste it on the password field of the terminal.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fugbtc566khdh76p6re8v.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fugbtc566khdh76p6re8v.png" alt=" " width="677" height="82"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Your code got successfully pushed into your repository! &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ftpyf3l9p3c06lc2ybfnj.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ftpyf3l9p3c06lc2ybfnj.png" alt=" " width="520" height="183"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;However, after applying your token you may face this error.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F8jlspmqvzfo8djhu9jik.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F8jlspmqvzfo8djhu9jik.png" alt=" " width="800" height="567"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Visit this blog(&lt;a href="https://dev.to/shafia/common-github-issues-beginners-may-face-29bb"&gt;https://dev.to/shafia/common-github-issues-beginners-may-face-29bb&lt;/a&gt;) and follow the steps given in &lt;strong&gt;Error 3 Solution 1&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Happy coding!&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Solutions To Some Common GitHub issues</title>
      <dc:creator>Shafia Rahman Chowdhury</dc:creator>
      <pubDate>Fri, 26 May 2023 13:28:50 +0000</pubDate>
      <link>https://dev.to/shafia/common-github-issues-beginners-may-face-29bb</link>
      <guid>https://dev.to/shafia/common-github-issues-beginners-may-face-29bb</guid>
      <description>&lt;p&gt;Sometimes, you may come across various challenges when using GitHub. In this blog post, we will explore some common issues we encounter and provide practical solutions to help you overcome them. Let's dive in!&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;u&gt;&lt;strong&gt;Error-1: Git Configuration error&lt;/strong&gt;&lt;/u&gt;
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F3fropy5aq37gs2izy97a.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F3fropy5aq37gs2izy97a.png" alt=" " width="700" height="299"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;u&gt;Solution&lt;/u&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 1:&lt;/strong&gt; The image shows two commands in the terminal. If you receive these commands, &lt;strong&gt;execute them one by one in your terminal&lt;/strong&gt;.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;git config --global user.email "your github email"
git config --global user.name "your github name"
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Step-2:&lt;/strong&gt; A pop-up with &lt;strong&gt;sign in with browser&lt;/strong&gt; will appear. Make sure you are logged in your GitHub Account. Click on the &lt;br&gt;
&lt;strong&gt;sign in with browser&lt;/strong&gt; and then click &lt;strong&gt;Authorize Visual Studio Code button&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 3:&lt;/strong&gt; Go to your terminal again and run these commands&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;git branch -M main
git remote add origin "your repo link"
git push -u origin main 

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  &lt;u&gt;&lt;strong&gt;Error-2: (e.g git pull...) before pushing again&lt;/strong&gt;&lt;/u&gt;
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fcveqxg7w7a40pne5ssq4.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fcveqxg7w7a40pne5ssq4.png" alt=" " width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;u&gt;Solution&lt;/u&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;If you're submitting your code to GitHub for the first time, open your terminal again and run these commands:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;git push -u origin main -f
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;or&lt;/p&gt;

&lt;p&gt;If you've already pushed your code to the GitHub repo more than once.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;git push -f
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  &lt;u&gt;&lt;strong&gt;Error-3 : src refspec main does not match any&lt;/strong&gt;&lt;/u&gt;
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F8r4xubiwsge84r0iookh.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F8r4xubiwsge84r0iookh.png" alt=" " width="800" height="424"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;u&gt;Solution-1&lt;/u&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 1:&lt;/strong&gt; Go to GitHub &lt;strong&gt;Settings&lt;/strong&gt; and then go to &lt;strong&gt;Emails&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step-2:&lt;/strong&gt; Uncheck &lt;strong&gt;Keep my email addresses private&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fbhblbyqjyf00430xiu48.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fbhblbyqjyf00430xiu48.png" alt=" " width="800" height="422"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step-3:&lt;/strong&gt; Push your code again&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;u&gt;Solution-2&lt;/u&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Open your &lt;strong&gt;Git bash terminal&lt;/strong&gt; and run the following commands one by one:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;rm -rf .git
git init
git add .
git commit -m "added"
git branch -M main
git remote add origin &amp;lt;YOUR_GITHUB_REPO_LINK&amp;gt;
git push -u origin main -f
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  &lt;u&gt;Error 4: Requested URL returned error: 403&lt;/u&gt;
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fsxxyohqctd20g459q7nr.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fsxxyohqctd20g459q7nr.png" alt=" " width="800" height="101"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This error takes place when you do not have access to a repository.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;u&gt;Solution-1&lt;/u&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step-1:&lt;/strong&gt; Check if you are pushing the code to your repository&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;git remote -v
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Step-2:&lt;/strong&gt; Open a new repository in your GitHub&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F47lw0jjkqhgana3r1e8a.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F47lw0jjkqhgana3r1e8a.png" alt=" " width="782" height="293"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step-3:&lt;/strong&gt; Copy your repository link&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fwsq498308yzjglmek1aq.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fwsq498308yzjglmek1aq.png" alt=" " width="800" height="99"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step-4:&lt;/strong&gt; Go to the terminal and write the following command:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;git remote set-url origin your-repo-link
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;After the entering command, check if the git repository url changed. Write &lt;strong&gt;git remote -v&lt;/strong&gt; on your terminal.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step-5:&lt;/strong&gt; Then, run these commands one by one&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;git branch -M main
git push -u origin main
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;&lt;u&gt;Solution-2&lt;/u&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://dev.to/shafia/requested-url-returned-error-403-1pfm"&gt;https://dev.to/shafia/requested-url-returned-error-403-1pfm&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Follow the solutions discussed above and get rid off your errors. &lt;/p&gt;

&lt;p&gt;Visit the link below and learn how to resolve the GitHub error "&lt;strong&gt;Support for password authentication was removed&lt;/strong&gt;".&lt;/p&gt;

&lt;p&gt;&lt;a href="https://dev.to/shafia/support-for-password-authentication-was-removed-please-use-a-personal-access-token-instead-4nbk"&gt;https://dev.to/shafia/support-for-password-authentication-was-removed-please-use-a-personal-access-token-instead-4nbk&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Don't let these common issues discourage you. Keep exploring, collaborating, and contributing on GitHub, and watch your skills grow. Happy coding!&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Troubleshooting Broken Image and CSS Issues on GitHub Pages</title>
      <dc:creator>Shafia Rahman Chowdhury</dc:creator>
      <pubDate>Fri, 26 May 2023 12:47:12 +0000</pubDate>
      <link>https://dev.to/shafia/broken-image-issue-on-github-pages-lg1</link>
      <guid>https://dev.to/shafia/broken-image-issue-on-github-pages-lg1</guid>
      <description>&lt;p&gt;Are you facing a situation where you have successfully deployed your webpage to GitHub Pages, but the &lt;strong&gt;images&lt;/strong&gt; or your &lt;strong&gt;CSS code&lt;/strong&gt; are not showing up after the &lt;strong&gt;deployment&lt;/strong&gt;? Don't worry; this is a common issue that many people encounter.&lt;/p&gt;

&lt;p&gt;There are &lt;strong&gt;two&lt;/strong&gt; possible reasons for this error to take place:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1) Wrong name&lt;br&gt;
2) Wrong path&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;1) &lt;u&gt;&lt;strong&gt;Wrong Name&lt;/strong&gt;&lt;/u&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Always check the spelling of the image you saved and name of the css file.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;If you save your image as &lt;strong&gt;first-image.jpg&lt;/strong&gt; or your css code as &lt;strong&gt;style.css&lt;/strong&gt; but you wrote in your path &lt;strong&gt;'First-image.jpg'&lt;/strong&gt; or &lt;strong&gt;'Style.css'&lt;/strong&gt;, it will not be visible on &lt;strong&gt;GitHub Pages&lt;/strong&gt;.&lt;/p&gt;
&lt;h2&gt;
  
  
  &lt;strong&gt;But why?&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;You won't see such problem in your localhost &lt;strong&gt;because the file system might not distinguish between uppercase and lowercase letters in file names&lt;/strong&gt; but after deploying your site on GitHub you will encounter such problem as &lt;strong&gt;GitHub is case-sensitive&lt;/strong&gt;. &lt;/p&gt;

&lt;p&gt;2) &lt;u&gt;&lt;strong&gt;Wrong Path&lt;/strong&gt;&lt;/u&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Always check if your image path and css file path are written correctly.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Since the solution for both issues is the same, I will provide examples related to images only.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Alright, now let's see how to access an image.&lt;/p&gt;

&lt;p&gt;a) &lt;strong&gt;If you save your image in the root folder such as the one shown below&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; The &lt;strong&gt;"root folder"&lt;/strong&gt; is the &lt;strong&gt;main or starting folder for your project&lt;/strong&gt;. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fkea3sybxzbww0kdiwuul.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fkea3sybxzbww0kdiwuul.png" alt=" " width="800" height="218"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Then your image path will be:&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;img src="header_bg.png" alt="header" /&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;b) &lt;strong&gt;If you save your image &lt;em&gt;inside a folder&lt;/em&gt; you created such as the one shown below&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fxpb0r61y2ji5m5gcubkh.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fxpb0r61y2ji5m5gcubkh.png" alt=" " width="800" height="262"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Then you will have to access your image by following the pattern &lt;em&gt;./folder_name/image_name&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;For example:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;img src="./images/hardy.png" alt="apple" /&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;c) &lt;strong&gt;If you save your image &lt;em&gt;inside a folder of a folder&lt;/em&gt; such as the one shown below&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fadgrf9tdbzezaq64b4gz.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fadgrf9tdbzezaq64b4gz.png" alt=" " width="423" height="132"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Then you will have to access your image by following the pattern&lt;br&gt;
&lt;em&gt;./folder_name/folder_name/image_name&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;For example:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;img src="./images/icon/developer.png" alt="apple" /&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;And so on...&lt;/p&gt;

&lt;p&gt;However, if your html file is in &lt;strong&gt;one folder **and your images or css files are in **another folder&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fzz15t9vh1jzofcivfodo.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fzz15t9vh1jzofcivfodo.png" alt=" " width="382" height="151"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Then you will have to access your image by following the pattern&lt;br&gt;
&lt;strong&gt;../folder_name/image_name&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;For example,&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;img src="../images/hardy.png" alt="apple" /&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  &lt;em&gt;Remember, same thing applies for the css file names.&lt;/em&gt;
&lt;/h2&gt;

&lt;p&gt;Sometimes, we do not use the dots(../ or ./) and we will still be able to view the images on our localhost. However, when deploying the same code on GitHub Pages without using the &lt;strong&gt;dot notation&lt;/strong&gt;, the images and css code might not be displayed.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;But why?&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;When you're working on your computer (localhost), not using the dots (./ or ../) in file paths might still allow images and CSS to display because the computer assumes you mean files are in the current folder.&lt;/p&gt;

&lt;p&gt;However, when you put the same code on GitHub Pages, it becomes more strict. Without using the dot notation, GitHub Pages might get confused about where to find the images and CSS because it follows specific rules. The dots help specify the file paths correctly, making sure GitHub Pages can locate and display them properly.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;Summary&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;If you write your image path like the one shown below&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Wrong&lt;/strong&gt;&lt;br&gt;
1) src="images/my-image.png" &lt;br&gt;
2) url(images/my-image.png) &lt;br&gt;
3) href="css/main.css"&lt;/p&gt;

&lt;p&gt;your image and css code may not appear on GitHub Pages so, make sure to place &lt;strong&gt;./&lt;/strong&gt; or &lt;strong&gt;../&lt;/strong&gt; when deploying your site on GitHub Pages or any other hosting platform:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Right&lt;/strong&gt;&lt;br&gt;
&lt;strong&gt;1) src="./images/my-image.png"&lt;/strong&gt; &lt;em&gt;(if the html code is in root folder and the css code is another folder)&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2) url("../images/my-image.png")&lt;/strong&gt; &lt;em&gt;(if the css code is in one folder and the image is in another folder)&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3) href ="./css/main.css"&lt;/strong&gt; &lt;em&gt;(if the html code is in root folder and the css code is another folder)&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;4) href ="../css/main.css"&lt;/strong&gt; &lt;em&gt;(if the html code is in one folder and the css code is another folder)&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Happy deploying!&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Some Common Vercel Errors</title>
      <dc:creator>Shafia Rahman Chowdhury</dc:creator>
      <pubDate>Mon, 15 May 2023 13:26:06 +0000</pubDate>
      <link>https://dev.to/shafia/some-common-vercel-errors-548i</link>
      <guid>https://dev.to/shafia/some-common-vercel-errors-548i</guid>
      <description>&lt;p&gt;When deploying your server-side on Vercel, you may face some common errors sometime. In this blog, I will provide solutions to help you resolve these following errors effortlessly.&lt;/p&gt;

&lt;p&gt;1) &lt;strong&gt;&lt;u&gt;Error&lt;/u&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Cannot GET/your_route_name&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;strong&gt;&lt;u&gt;Solution&lt;/u&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step-1:&lt;/strong&gt; Remove &lt;strong&gt;"await client.connect ()&lt;/strong&gt;" in the &lt;strong&gt;try&lt;/strong&gt; block of the &lt;strong&gt;run&lt;/strong&gt; function of your &lt;strong&gt;index.js&lt;/strong&gt; file&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step-2:&lt;/strong&gt; Go to your &lt;strong&gt;vercel.json&lt;/strong&gt; file and change your &lt;strong&gt;dest&lt;/strong&gt; value to &lt;strong&gt;index.js&lt;/strong&gt; like the one below:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;{
   "version": 2,
   "builds": [
       {
           "src": "./index.js",
           "use": "@vercel/node"
       }
   ],
   "routes": [
       {
           "src": "/(.*)",
           "dest": "index.js"
       }
   ]
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Step-3&lt;/strong&gt;: Then, run these command on your terminal&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;vercel
vercel --prod
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;2) &lt;strong&gt;&lt;u&gt;Error&lt;/u&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;This Serverless Function has crashed&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fqzxvm1abfwspuq1o5wd1.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fqzxvm1abfwspuq1o5wd1.jpg" alt=" " width="800" height="530"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;This error have few possible solutions&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;u&gt;Solution - 1&lt;/u&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step-1:&lt;/strong&gt; Remove &lt;strong&gt;"await client. connect ()"&lt;/strong&gt; in the &lt;strong&gt;try&lt;/strong&gt; block of the &lt;strong&gt;run&lt;/strong&gt; function of your index.js file&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step-2:&lt;/strong&gt; Then, run these command on your terminal&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;vercel
Vercel --prod
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;u&gt;Solution - 2&lt;/u&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step-1:&lt;/strong&gt; Go to your index.js file, remove &lt;strong&gt;app.use(cors())&lt;/strong&gt; and write this code instead:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;const corsConfig = {
    origin: '',
    credentials: true,
    methods: ['GET', 'POST', 'PUT', 'DELETE']
}
app.use(cors(corsConfig))
app.options("", cors(corsConfig))
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Step-2:&lt;/strong&gt; Then, go to your &lt;strong&gt;vercel.json&lt;/strong&gt; file and copy-paste this code:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
{
    "version": 2,
    "builds": [
        {
            "src": "./index.js",
            "use": "@vercel/node"
        }
    ],
    "routes": [
        {
            "src": "/(.*)",
            "dest": "/",
            "methods": ["GET", "POST", "PATCH", "DELETE", "OPTIONS"]
        }
    ]
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Step - 3:&lt;/strong&gt; Then, run these command on your terminal&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;vercel
Vercel --prod
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;_If you still see the error change &lt;strong&gt;dest&lt;/strong&gt; value to &lt;strong&gt;"dest": "index.js"&lt;/strong&gt; and deploy the server again using the &lt;strong&gt;step-3&lt;/strong&gt; command.&lt;/p&gt;

&lt;p&gt;&lt;u&gt;Solution-3&lt;/u&gt;&lt;/p&gt;

&lt;p&gt;Check if you have added your environment variables in your Vercel&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Go to Vercel dashboard --&amp;gt; Choose the project --&amp;gt; settings--&amp;gt; Environment Variables&lt;/strong&gt; &lt;/p&gt;

&lt;p&gt;&lt;em&gt;Make sure the enviroment variables you added match with the one in your .env file&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;u&gt;Solution-4&lt;/u&gt; &lt;/p&gt;

&lt;p&gt;If any of the above solutions don’t work, then run this command on your terminal&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;vercel logs your_production_url
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Vercel will let you know if there is any errors in your index.js file.&lt;/p&gt;

&lt;p&gt;3) &lt;strong&gt;Error&lt;/strong&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;bad credentials Vercel sign up&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;strong&gt;Step-1:&lt;/strong&gt; Run this command on your terminal to uninstall Vercel&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;npm uninstall -g vercel
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Step-2:&lt;/strong&gt; Re-install Vercel globally&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;npm i -g vercel
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Step-3:&lt;/strong&gt; Now login using the command below:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;vercel login
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;4) &lt;strong&gt;Error&lt;/strong&gt; &lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;This Serverless function has timed out&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Visit this blog to resolve this issue:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://dev.to/shafia/the-errors-you-may-face-for-not-whitelisting-the-ip-address-0000-in-your-mongodb-network-access-32f8"&gt;https://dev.to/shafia/the-errors-you-may-face-for-not-whitelisting-the-ip-address-0000-in-your-mongodb-network-access-32f8&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;5) &lt;strong&gt;Error&lt;/strong&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Fix vercel error : A system error occurred: uv_os_gethostname returned ENOSYS (function not implemented)&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;em&gt;If you are using Windows 7, you may face this error&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;u&gt;Solution:&lt;/u&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step-1:&lt;/strong&gt; Go to Users --&amp;gt;your_computer_name folder –&amp;gt;&lt;br&gt;
node_modules-&amp;gt;vercel-&amp;gt;dist-&amp;gt;index.js &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step-2:&lt;/strong&gt; On the top write,&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;const os=require("os")
os.hostname=()=&amp;gt;"localhost"
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Lastly, if you don’t know how to deploy your server using Vercel CLI, follow this blog&lt;/p&gt;

&lt;p&gt;&lt;a href="https://medium.com/@shafiarahmanchy13/how-to-deploy-a-node-express-server-using-vercel-cli-f0a464d4e88c" rel="noopener noreferrer"&gt;https://medium.com/@shafiarahmanchy13/how-to-deploy-a-node-express-server-using-vercel-cli-f0a464d4e88c&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;For each error, I have provided step-by-step solutions to help you resolve them effectively. &lt;/p&gt;

&lt;p&gt;By following the steps outlined in this blog, you can troubleshoot and overcome these errors.&lt;/p&gt;

&lt;p&gt;Happy deploying!&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Analyzing and interpreting the BSONTypeError</title>
      <dc:creator>Shafia Rahman Chowdhury</dc:creator>
      <pubDate>Wed, 10 May 2023 13:11:15 +0000</pubDate>
      <link>https://dev.to/shafia/analyzing-and-interpreting-the-bysontypeerror-145g</link>
      <guid>https://dev.to/shafia/analyzing-and-interpreting-the-bysontypeerror-145g</guid>
      <description>&lt;p&gt;&lt;strong&gt;What does this error mean?&lt;/strong&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;“BSONTypeError:Argument Passed In Must Be a String of 12 Bytes or a String of 24 Hex Characters or an Integer"&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Before we dive into knowing what this error means and when it occurs let’s understand what BSON means.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;BSON&lt;/strong&gt; is like a binary version of JSON, a way to represent data. It is similar to JSON because it supports different data types like strings, numbers, Booleans, arrays, and objects. But BSON goes further by adding more types such as dates, binary data, and special types like &lt;strong&gt;ObjectID&lt;/strong&gt; and Decimal128. This allows MongoDB to handle a wider range of data in a more efficient way.&lt;/p&gt;

&lt;p&gt;Therefore, when we see the error “BSONTypeError” it means the data provided &lt;strong&gt;does not match the expected BSON (Binary JSON) type.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Now let us understand this error&lt;/strong&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;“BSONTypeError: Argument Passed In Must Be a String of 12 Bytes or a String of 24 Hex Characters or an Integer”&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;You see this error message when the &lt;strong&gt;ID&lt;/strong&gt; you provided is not 12 Bytes String, 24 Hex characters String or a number. &lt;/p&gt;

&lt;p&gt;MongoDB uses something called an ObjectID to identify each document in a collection. An ObjectID is a special code made up of &lt;strong&gt;12 bytes, usually shown as a string of 24 letters and numbers.&lt;/strong&gt; So, when you work with ObjectIDs or perform queries that involve them, it's important to make sure that the &lt;strong&gt;ID&lt;/strong&gt; you provide &lt;strong&gt;follows this specific format of 12 bytes or 24 characters in hexadecimal (letters and numbers).&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;If you try to save or use a value in MongoDB that is not supported or doesn't match what MongoDB expects, you may see a "BSONTypeError" error. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Here are some common situations that can cause this error:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;1) &lt;strong&gt;Invalid Format:&lt;/strong&gt; If the ID you provided has a string with &lt;strong&gt;fewer or more than 24 characters&lt;/strong&gt;, or contains &lt;strong&gt;non-hexadecimal characters&lt;/strong&gt;, MongoDB will raise this error.&lt;/p&gt;

&lt;p&gt;&lt;u&gt;Wrong&lt;/u&gt;:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F2ub3w4ewaumta2yckj3x.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F2ub3w4ewaumta2yckj3x.png" alt=" " width="800" height="361"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F2qcaw5nank03mnottgcg.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F2qcaw5nank03mnottgcg.png" alt=" " width="800" height="361"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;2.&lt;strong&gt;Wrong Data Type:&lt;/strong&gt; If the ID you provided is not one of three specific data types: &lt;strong&gt;24 byte hex string, 12 byte binary string or a Number.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;u&gt;Wrong&lt;/u&gt;:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fm1j1iajyo3b3ryihsvrg.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fm1j1iajyo3b3ryihsvrg.png" alt=" " width="800" height="384"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F32j61mojeqp5w0qnzfnu.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F32j61mojeqp5w0qnzfnu.png" alt=" " width="800" height="361"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fnxvtf387l9kzovbsf0n1.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fnxvtf387l9kzovbsf0n1.png" alt=" " width="800" height="366"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Correct Format:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F3m36xr1ydot8wun5eo19.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F3m36xr1ydot8wun5eo19.png" alt=" " width="800" height="371"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;In this example, validId represents a valid &lt;strong&gt;ID&lt;/strong&gt; as it follows the following format: &lt;/p&gt;

&lt;p&gt;1) It consists of 24 characters, which are &lt;strong&gt;all hexadecimal (0-9, A-F).&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;2) The ID is provided as a &lt;strong&gt;string&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;If you get this error, always check if the ID you have sent from the client-side follows the format discussed in the &lt;strong&gt;Correct format&lt;/strong&gt;.&lt;/p&gt;

</description>
      <category>mongodb</category>
      <category>errors</category>
    </item>
  </channel>
</rss>
