Building EntityForm in Drupal 8 I'm continuously getting the error: Drupal\Core\Config\Schema\SchemaIncompleteException: Incomplete or missing schema for mymodule.myentity.myentityname in Drupal\Core\Config\Entity\ConfigEntityBase-&gt;toArray() (line 248 of core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php).

Here is how I'd implemented the EntityForm:

class MymoduleForm extends EntityForm {
  public function form(array $form, array &amp;$form_state) {
    $form = parent::form($form, $form_state);
    $entity = $form_state['entity'] = $this-&gt;getEntity();
    $form['name'] = array(
      '#type' =&gt; 'textfield',
      '#title' =&gt; t('Name'),
      '#default_value' =&gt; empty($entity-&gt;name) ? '' : $entity-&gt;name,
      '#required' =&gt; TRUE,
    );
    ...
    ...

    return $form;
  }
  public function validate(array $form, array &amp;$form_state) {
    parent::validate($form, $form_state);
    $entity = $this-&gt;getEntity();
    //perform validation
  }
  public function save(array $form, array &amp;$form_state) {
    $entity = $this-&gt;getEntity();
    $entity-&gt;save();
    print_r($entity);
    //throws error here

    $edit_link = \Drupal::linkGenerator()-&gt;generateFromUrl($this-&gt;t('Edit'), $this-&gt;entity-&gt;urlInfo());
  }


Doing a print_r($entity) shows two Object results: one showing all the values I'd filed up in the form and the other completely emplty.
That error has nothing to do with your form.

You need to provide a config schema for your config entity, see examples in node.schema.yml and many other places.

See also the configuration schema documetation.