If I hit GET https://army-forge.onepagerules.com/api/tts?id=<army id> with a campaign list where regular units have "Traits", everything works as expected.
However, if I give a hero unit any "Skill Sets" or "Injuries" or "Talents", then the endpoint returns 500:
Note - if I unselect all the "Skill Sets" or "Injuries" or "Talents", then the endpoint does work. It's something about selecting one of those things that causes an exception.
For example:
this list: NtAQ1ul3 triggers a 500 on the TTS endpoint
If I hit
GET https://army-forge.onepagerules.com/api/tts?id=<army id>
with a campaign list where regular units have "Traits", everything works as expected.However, if I give a hero unit any "Skill Sets" or "Injuries" or "Talents", then the endpoint returns 500:
Note - if I unselect all the "Skill Sets" or "Injuries" or "Talents", then the endpoint does work. It's something about selecting one of those things that causes an exception.
For example:
NtAQ1ul3
triggers a 500 on the TTS endpointoioWwRku
doesn't