adlio / trello

Trello API wrapper for Go
MIT License
220 stars 71 forks source link

Creating a webhook fails #3

Closed sdgandhi closed 7 years ago

sdgandhi commented 7 years ago

The error returned from Trello is

JSON decode failed on https://api.trello.com/1/webhooks:
invalid value for idModel: invalid character 'i' looking for beginning of value

Other API calls for this board ID work correctly.

adlio commented 7 years ago

Can you provide some sample code? I do have some working code that creates webhooks on a variety of boards. The error message looks like it might be API permission related (the Go JSON parser is trying to parse a response that's not JSON).

sdgandhi commented 7 years ago

This was an issue with my configuration!