# Swagger API Validator Error

**URL:** https://community.trooptrack.com/t/swagger-api-validator-error/5046
**Category:** Ask a Question
**Created:** [April 5, 2017, 6:37pm UTC](https://community.trooptrack.com/t/swagger-api-validator-error/5046 "2017-04-05T18:37:58Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![rtoole](https://avatars.discourse-cdn.com/v4/letter/r/90db22/32.png) [@rtoole](https://community.trooptrack.com/u/rtoole)
#### Post date: [April 5, 2017, 6:37pm UTC](https://community.trooptrack.com/t/swagger-api-validator-error/5046/1 "2017-04-05T18:37:58Z")

</div>

When using the swagger API documentation link I’m receiving a swagger validator error message at the bottom right side of the screen (see screen shot below).

 ![](https://canada1.discourse-cdn.com/flex027/uploads/trooptrack/original/2X/b/bdead3f46b963350ca547d89be7386fd1959542a.png)

It obviously doesn’t affect my use of the API (working great btw…). I just wanted to confirm that I’m not missing access to other areas of the system. It appears the API gives me access to: Achievements, Award Types, Events, Mailing Lists, Offline, Photo Albums, Tokens, User Achievements, Purchasing Awards, User, and Youths.

Is it correct there is no API access to the Money Book, Training Book, Equipment, Library, Vehicles, etc…?

Thanks!

---

<div class="post-metadata">

### Author: ![ungood](https://avatars.discourse-cdn.com/v4/letter/u/f4b2a3/32.png) [@ungood](https://community.trooptrack.com/u/ungood)
#### Post date: [October 25, 2017, 12:04am UTC](https://community.trooptrack.com/t/swagger-api-validator-error/5046/2 "2017-10-25T00:04:23Z")

</div>

The issue is in the definition of the AchievementEntity type. It defines a field, “achievement\_id” as of type “id” instead of (presumably) integer.

After patching that value, I was able to generate a swagger client successfully.
