Problem:
Had json file like this
{
“config”: {
“source_repo_version”: “/pulp/api/v3/repositories/deb/apt/2101d8e2-54d2-46a8-b4e6-641d14d38a7a/versions/1/”,
“dest_repo”: “/pulp/api/v3/repositories/deb/apt/1e9b2ae7-1474-49d2-8e22-ca5ede846f24/”,
“content”: “/pulp/api/v3/content/deb/packages/ea77cde0-d8d5-412c-83c4-e1e9fe000b95/”
},
“structured”: false,
“dependency_solving”: false
}
http $auth POST $BASE_ADDR/pulp/api/v3/deb/copy/ config:=@my_json.json
got this error while trying advanced copy API
{
“non_field_errors”: [
“Provided copy criteria is invalid:’[”{‘source_repo_version’: ‘/pulp/api/v3/repositories/deb/apt/2101d8e2-54d2-46a8-b4e6-641d14d38a7a/versions/1/’, ‘dest_repo’: ‘/pulp/api/v3/repositories/deb/apt/1e9b2ae7-1474-49d2-8e22-ca5ede846f24/’, ‘content’: ‘/pulp/api/v3/content/deb/packages/ea77cde0-d8d5-412c-83c4-e1e9fe000b95/’} is not of type ‘array’"]’"
]
}
Pulpcore version: 3.23.2
Any thoughts?