Here is one of the requests that fails: (will post the other issues mentioned later)
{account_id} is my accountId on my side
{access_token} is my accessToken on my side
{site_id} is my siteId on my side
PATCH: https://api.netlify.com/api/v1/accounts/{account_id}/env/TEST_ENV_VAR
Headers:
Accept: application/json
Authorization: Bearer {access_token}
Body:
{“key”:“TEST_ENV_VAR”,“account_id”:“{account_id}”,“site_id”:“{site_id}”,“value”:“devtest”,“context”:“all”}
Response:
{“code”:500,“message”:“Internal server error”}
I’m getting this 500 error as soon as i start sending context=all (as already mentioned above)
Request id: 578f897c-0e75-4b91-a000-dbc6710caf03