ERROR [pyrevit.routes.server.router] Route pattern is invalid: /posts/<int:uiapp>

Hey guys!

I’m a new PyRevit user. I have two doubts:

  1. I’m encountering the error “ERROR [pyrevit.routes.server.router] Route pattern is invalid: /posts/int:uiapp” when I start Revit. Could anyone help me?

  2. I have a particular interest in using Visual Code to create pluglins, but how do I access the Revit API there?

Thank you very much in advance

That error is intentional if you have the dev extension installed. See Error on Launch - pyRevit DevTools - #4 by onomou

Regarding using VS Code, Erik has a short tutorial here: How to create Revit API Stubs for Autocomplete with pyRevit