Quantcast
Channel: Active questions tagged youtube-api - Stack Overflow
Viewing all articles
Browse latest Browse all 3721

YouTube : Get a 400 error when I try to update TopicDetails for a specific channel Id

$
0
0

Issue summary:Get a 400 error when I try to update TopicDetails (topicIds+topicCategories) for a specific channel Id.

Expected output:

{"topicIds": ["/m/02vx4","/m/022dc6","/m/06ntj"    ],"topicCategories": ["https://en.wikipedia.org/wiki/Association_football","https://en.wikipedia.org/wiki/Sports_game","https://en.wikipedia.org/wiki/Sport"    ]}

Actual results:

{"error": {"code": 400,"message": "Request contains an invalid argument.","errors": [      {"message": "topic_details","domain": "youtube.api.RequestContextError","reason": "ERROR_PART_UNEXPECTED"      }    ],"status": "INVALID_ARGUMENT"  }}

Any idea? Thank you!

{"id": "UCcWoU7Yle6KACIbT8sJfJNQ","topicDetails": {"topicIds": ["/m/02vx4","/m/022dc6","/m/06ntj"    ],"topicCategories": ["https://en.wikipedia.org/wiki/Association_football","https://en.wikipedia.org/wiki/Sports_game","https://en.wikipedia.org/wiki/Sport"    ]  }}

Any idea? Thank you!


Viewing all articles
Browse latest Browse all 3721

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>