ActiDoo / gamification-engine

gamification-engine (gengine) is a framework for developing gamification features for your application
MIT License
429 stars 108 forks source link

/add_or_update_subject/{user_id} returns 502 bad gateway for a new user_id #66

Closed SpirosChadoulos closed 2 years ago

SpirosChadoulos commented 3 years ago

I tried to use the /add_or_update_subject/{user_id} endpoint to add a new user in the gamification engine, with a new id that matches the one the user has in my application. Instead of adding the new user to the database, the API's response was 502 bad gateway.

esvehla1 commented 3 years ago

Hi @SpirosChadoulos where you able to get this resolved? If so did you by chance submit a PR?

msander commented 2 years ago

This is fixed in develop. You have to provide "name" and "subjecttype_id".