If the previous owner did not pull a permit on that structure, then the city could want you to pull a permit to prove that the structure is up to code. Go down and ask the Question.and wasn't disclosed when you bought the house
Not sure but please check out https://ronnieblovelee.home.blog/
Thanks! Your answer is awaiting moderation.