Skip to content

Sitecore 10.2 - Type initializer exception when executing script via WebAPI #1318

Open
@larionovadaria

Description

@larionovadaria

Expected Behavior

restfulv2 service works as expected right after deployment.

Actual Behavior

Similar to: #982

  • Couldn't reproduce locally, only on Azure.
  • Fix described here Sitecore 9 - Type initializer exception when executing script via WebAPI  #982 (comment) didn't help, but the issue completely disappears if you manually restart WebApp once again after deployment, which makes me think something happens during initialization.
  • Issue began to happen only after remoting restfulv2 service was enabled. Sitecore Powershell itself worked without any issues on current version and previous ones.

Setup

Sitecore PowerShell Extensions 6.3.0.17327
Sitecore 10.2
Azure WebApp hosting

Steps to Reproduce the Problem

Steps to reproduce are similar to: #982

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions