# Getting "Error: Exceeded maxRedirects. Probably stuck in a redirect loop"

**URL:** <https://community.postman.com/t/getting-error-exceeded-maxredirects-probably-stuck-in-a-redirect-loop/42346>\
**Category:** Help Hub\
**Tags:** redirect\
**Created:** [December 23, 2022, 8:32am UTC](https://community.postman.com/t/getting-error-exceeded-maxredirects-probably-stuck-in-a-redirect-loop/42346 "2022-12-23T08:32:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![tusharm](https://avatars.discourse-cdn.com/v4/letter/t/91b2a8/32.png) [@tusharm](https://community.postman.com/u/tusharm)\
**Post date:** [December 23, 2022, 8:32am UTC](https://community.postman.com/t/getting-error-exceeded-maxredirects-probably-stuck-in-a-redirect-loop/42346/1 "2022-12-23T08:32:18Z")

</div>

_My question_:  
I am getting _Error: Exceeded maxRedirects. Probably stuck in a redirect loop_ for my previously working POST request. I have not changed any setting so far.  
I tried to increase the count of “Maximum number of redirects” under Settings but it has no effect.

Can someone help me out?

 ![image](https://us1.discourse-cdn.com/getpostman/original/3X/c/d/cd73e381ccb30129fff5eb6390db1539a24d587b.png)

---

<div class="post-metadata">

**Author:** ![navigation-cosmonau4](https://avatars.discourse-cdn.com/v4/letter/n/db5fbb/32.png) [@navigation-cosmonau4](https://community.postman.com/u/navigation-cosmonau4)\
**Post date:** [December 23, 2022, 7:51pm UTC](https://community.postman.com/t/getting-error-exceeded-maxredirects-probably-stuck-in-a-redirect-loop/42346/2 "2022-12-23T19:51:30Z")

</div>

Me too. Same problem following a Udemy Tutorial and doing a post to Postgresql/Node.js  
Error: Exceeded maxRedirects. Probably stuck in a redirect loop [http://localhost:3000/monsters](http://localhost:3000/monsters)  
The data posts 10 times (preset number of timeouts) but I get this error.  
If I remove the redirect it posts normally (1x) but it never finishes: Sending request…

router.post(“/”, (request, response, next) =\> {  
const { name, personality } = request.body;  
pool.query(  
“INSERT INTO monsters(name, personality) VALUES($1, $2)”,  
[name, personality],  
(err, res) =\> {  
if (err) return next(err);  
// response.redirect(“/monsters”); //this is not working! redirect lOOP.  
}  
);  
});
