The Netlify API JS client doesn’t use the context
parameter even though it is being provided.
await netlifyClient.setEnvVarValue({
accountId: netlifyUser.account_id,
key: "TEST",
siteId: process.env.SITE_ID,
value: "test",
context: "all",
});
The error in the function parseResponse
is "{\"error\":\"param is missing or the value is empty: context\"}"
but as you can see above its being passed in.