I'm trying to connect to ActiveCollab API but it is impossible. I tried with Postman and cURL but I'm obtain the same result:
{
"type": "ValueError",
"message": "DOMDocument::loadXML(): Argument #1 ($source) must not be empty",
"code": 0
}
This is the command with the endpoint
curl -XPOST -d '[email protected]&password=XXXXXX' https://app.activecollab.com/XXXXXX/api/v1/issue-token
Any idea?
I was running into issues getting an API Token as well, albeit on a self-hosted install. I reached out to ActiveCollab support and they pointed me to a Getting Tokens for Cloud Instances.md gist which appears to have slightly different syntax with the use of a different endpoint and an "Intent" variable. Give that a look and see if it helps.
I was finally able to get an API Token with the following curl request
Based on what their support folks said, you might have luck on the cloud version with the below, ensuring to add your account ID.