I flew with Avianca from Bogota to San Jose but was initially denied boarding as well. The airline states they have a 'requirement' to see this before boarding, but then nobody from Costa Rica...