"We're sorry, but the value for field labels was not valid" while posting a blog post on blogger using API


I have a process that aggregate blog post into a new aggregated blog, part of the process I copy part of the content and all the tags.

Every now and than I faced a problem to post an item into the aggregated blog with a very generic error, the response was:



Well apparently the size of the labels (tags) must be below 200.

I just scratched a simple routine that will ensure combined labels length will be below 200, making sure i don't cut label in the middle

Hope this saves you some time
"We're sorry, but the value for field labels was not valid" while posting a blog post on blogger using API "We're sorry, but the value for field labels was not valid" while posting a blog post on blogger using API Reviewed by Ran Davidovitz on 12:18 AM Rating: 5

No comments:

Powered by Blogger.