I’m not familiar with a /check_pdf route
I suggest checking the correct database credentials are set in the .env file