/bin/rt tool returns nothing

Hello everyone, I’m trying to write some scripts that use the rt tool, but I have a problem with it returning nothing.

I made .rtrc file in my home directory, it seems to be authenticating the user correctly, but rt show ticket/x returns nothing, only thing that returns something is rt help and its options, rt ls returns no matches found(but there’s unresolved tickets in the database).

I’ve followed the instructions, but they all seem to just tell that you need the .rtrc or other conf file for RT to get credentials from and it should work.

Is there a problem with my config? Maybe the database? Server, user and passwd fields seem to be recognised as I do get errors if they’re wrong. What’s the difference between auth rt and basic?

RT version is 5.0.5, the server is hosted on localhost.