It turned out that AWS has flagged the account due to reports. I am just leaving this answer here so that if someone else faces the same situation, do not have to spent so many hours like me.