strategy_not_declarative
What happened
The Studio shows a strategy as blocks, and a block exists for part of the language only. This strategy uses something outside that part, so it cannot be shown as blocks. The reply is 422, and reasons lists each one with its line.
What to do
Keep editing it as code, or rewrite the lines the reply names so that they use what the Studio shows.
Example
json
{
"error": "This strategy uses code the Studio cannot show.",
"code": "strategy_not_declarative",
"reasons": [
{
"line": 42,
"code": "statement",
"message": "A loop has no block in the Studio."
}
]
}