return json with error with an integer value
Merge branch 'master' of github.com:FTBpro/action-counter