Generic Task Server Setup: "Invalid container object"

Answered

Setting up a generic task server, I have provided authentication, URL, and selectors, but always receive the same error dialog:

Is there any way I can get some debug information?

  1. Does this happen during an authentication test, in the task list URL or in the single task URL?
  2. Which exact URL is sent to the server?
  3. Which response is returned?
  4. Which selector is failing?
0
3 comments

You can inspect what exactly is sent to the server and at which step the request fails by adding httpclient.wire in Help | Debug Log Settings.... After that, all the transferred data will be dumped to the idea.log file. Most likely either "$" or "$.data" returned something that neither a JSON object, not a JSON array.

0
Avatar
Permanently deleted user

Thank you for your help! I can see the network traffic now. However, the issue is that the URL for authentication is not a sub-string of the API URL:

For authentication, I need to provide some workspace information, since my user can only access this one workspace: https://server.com/?p=12345/6789

The API does not include this URL part: https://server.com/api/...

Is there any way I can send these two different URLs?

0

I don't quite get the scenario. Perhaps it will be helpful to do something like this by including one URL inside the query parameters of another URL (see the screenshot).

https://i.imgur.com/QqAoWoq.png

0

Please sign in to leave a comment.