How to solve Extension Manager Error

Scenario 

Extension Manager shows an error page when you try to open Extension Manager (Path: Commerce > Websites > Configuration). This could be caused by SC Extension Management version update. 

Error message: 

{“header”:{“status”:{“code”:”ERROR”},”message”:”Unexpected token: o”,”extra_data”:{},”error_code”:”SyntaxError”}}

Solution

To resolve this, follow the steps below:

    1. Navigate to Customization Lists, Records, & Fields > Record Types
    2. Search for the SC ExtMech Extension record type, then click its List link
    3. On the list page, you should be able to see the Suite_Commerce_Base_Theme extension record
    4. Click Edit
    5. Remove the value on the “TARGET_VERSION” field. The default value of this is currently set to “{‌”SCA”:”>=19.2.0″,”SCS”:”>=19.2.0″}
    6. Click Save
    7. Navigate back to the extension list 
     8. Click the View link on the Suite_Commerce_Base_Theme extension record
    9. Click Edit on the manifest.json file under the MANIFEST field. This should display a new pop-up window containing the codes of the manifest.json file
    10. On the lines of code, find the section of code below and remove it as well, if it’s still there:

         “target_version”: {‌
              “SCA”: “>=19.2.0”, 

                      “SCS”: “>=19.2.0”

          },

        This should be seen near the top, under the “target” key 

    11. Click Save on the popup window

After performing all steps above try again to open Extension Manager Now we can able to open Extension Manager 

Leave a comment

Your email address will not be published. Required fields are marked *