Skip to content
Advertisement

Azure DevOps Python {“count”:1,”value”:{“Message”:”Unexpected character encountered while parsing value: q. Path ”, line 0, position 0.rn”}}

Trying to get Work Items for an Azure DevOps Project.

JavaScript

Gives response 400

Have tried many things, been struggling a bit with this. Any help is much appreciated. How to get project’s work items without using their ID . Does the request need to be changed in some way?

Advertisement

Answer

Update your post to (json=payload):

JavaScript

or use something like this:

JavaScript

Check this question: How to POST JSON data with Python Requests?

Advertisement