Title: Invalid top level element ‘string’ ??
Last modified: February 17, 2021

---

# Invalid top level element ‘string’ ??

 *  Resolved [stevethefootycoach](https://wordpress.org/support/users/stevethefootycoach/)
 * (@stevethefootycoach)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/invalid-top-level-element-string-2/)
 * Hi
 * Google tells me that this page has unparsable structured data, e.g. ‘invalid 
   top level element string’
 * This is the relevant bit of code: [https://ibb.co/QQZdnV3](https://ibb.co/QQZdnV3)
 * Can you please explain how I can fix this error?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Finvalid-top-level-element-string-2%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Magazine3](https://wordpress.org/support/users/magazine3/)
 * (@magazine3)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/invalid-top-level-element-string-2/#post-14062151)
 * You might have inserted only string value here in custom schema [https://prnt.sc/zu2iib](https://prnt.sc/zu2iib).
   
   Either remove or provide valid string to resolve the issue.
 *  Thread Starter [stevethefootycoach](https://wordpress.org/support/users/stevethefootycoach/)
 * (@stevethefootycoach)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/invalid-top-level-element-string-2/#post-14062162)
 * Than ks for the quick reply.
 * Can you tell me how to make that string valid?
 * I’d rather not remove it altogether.
 *  Thread Starter [stevethefootycoach](https://wordpress.org/support/users/stevethefootycoach/)
 * (@stevethefootycoach)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/invalid-top-level-element-string-2/#post-14067215)
 * I’ve removed it and the error message has disappeared. Thanks for your help.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Invalid top level element ‘string’ ??’ is closed to new replies.

 * ![](https://ps.w.org/schema-and-structured-data-for-wp/assets/icon-256x256.png?
   rev=1922284)
 * [Schema & Structured Data for WP & AMP](https://wordpress.org/plugins/schema-and-structured-data-for-wp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/schema-and-structured-data-for-wp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/schema-and-structured-data-for-wp/)
 * [Active Topics](https://wordpress.org/support/plugin/schema-and-structured-data-for-wp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/schema-and-structured-data-for-wp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/schema-and-structured-data-for-wp/reviews/)

## Tags

 * [Unparsable structured data](https://wordpress.org/support/topic-tag/unparsable-structured-data/)

 * 3 replies
 * 2 participants
 * Last reply from: [stevethefootycoach](https://wordpress.org/support/users/stevethefootycoach/)
 * Last activity: [5 years, 3 months ago](https://wordpress.org/support/topic/invalid-top-level-element-string-2/#post-14067215)
 * Status: resolved