Incomplete messages fetched from Discord API when on deployed environment

Hi! I developed a program that fetches chat messages from my Discord server for a given channel and filters it out based on timestamp. The code works perfect in my local environment, however the same app after being deployed fetches incomplete messages from Discord. I checked the Discord API limitation and the issue is definitely not coming from that side. Does anyone know if apps deployed on Streamlit exhibit this kind of behavior where fetched data gets truncated? I am on free tier and my app is private. Not sure if free tier has anything to do with? Any help is very much appreciated. Thank you.