frappe.exceptions.ValidationError: Encryption key is invalid! Please check site_config.json

@revant_one

frappe.exceptions.ValidationError: Encryption key is invalid! Please check site_config.json If you have recently restored the site you may need to copy the site config contaning original Encryption Key.

I’m trying to update my ERPNext version-12 to version-14 I had done all the migration and everything after migrated successfully. when I’m trying to login I’m getting this error even im putting my encryption_key correctly. I cross verified so manytimes the key is correct. basically for login encryption key is not needed. only for updating the data in the database, that time only we need key.

If anyone have Idea or suggestion please provide. please remember. i’m using this command to migrate

bench migrate --skip-failing

but I’m using ony bench migrate
I’m getting this error

File "/workspace/development/frappe-bench/apps/frappe/frappe/_init_.py", line 502, in msgprint
    _raise_exception()
      title = None
      as_table = False
      as_list = False
      indicator = 'red'
      alert = False
      primary_action = None
      is_minimizable = False
      wide = False
      sys = <module 'sys' (built-in)>
      out = {'message': 'DocType Desk Chart not found', 'title': 'Message', 'indicator': 'red', 'raise_exception': 1}
      _raise_exception = <function msgprint.<locals>._raise_exception at 0x7f989510e5f0>
      _strip_html_tags = <functools._lru_cache_wrapper object at 0x7f98951738a0>
      msg = 'DocType Desk Chart not found'
      raise_exception = <class 'frappe.exceptions.DoesNotExistError'>
      strip_html_tags = <function strip_html_tags at 0x7f98980a8d30>
      ...skipped... 1 vars
  File "/workspace/development/frappe-bench/apps/frappe/frappe/_init_.py", line 451, in _raise_exception
    raise raise_exception(msg)
      msg = 'DocType Desk Chart not found'
      raise_exception = <class 'frappe.exceptions.DoesNotExistError'>
      ...skipped... 1 vars
frappe.exceptions.DoesNotExistError: DocType Desk Chart not found

frappe.exceptions.DoesNotExistError: DocType Desk Chart not found

In my case I’m getting error from the social logins I don’t know why. after disable the social logins its working fine

Table Name tabSocial Login Key