"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:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"code" : 400, | |
"errors" : [ { | |
"domain" : "global", | |
"message" : "We're sorry, but the value for field labels was not valid.", | |
"reason" : "invalid" | |
} ], | |
"message" : "We're sorry, but the value for field labels was not valid." | |
} |
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
Reviewed by Ran Davidovitz
on
12:18 AM
Rating:

No comments:
Post a Comment