New basecamp api tells me there's no basecamp account at this address

柔情痞子 提交于 2019-12-04 09:09:31

You have to specify user-agent either your email address or app name, in my opinion input your email address and mention your basecamp account id (after login in basecamp account, id shows on url in number form )

example :
curl -u xyz@example.com:xxxxxx -H 'User-Agent: xyz@example.com' https://basecamp.com/1213136/api/v1/projects.json

And finally you get your json!!

I had the same issue and was able to get the solution. Found out that i've been using the wrong Basecamp account id.

I've have created an account in Basecamp 3 (https://basecamp.com) and been using the generated account id in my requests, but I keep getting the said error message.

You just need to create an account in Basecamp 2 (https://basecamp.com/2) and use the generated account id instead.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!