API V3 commit error

Hello,

I’m trying to make commit via API v3 and got such error message: {‘error’: ‘actions is invalid’}
According to documentation this is correct request https://gitlab.com/gitlab-org/gitlab-foss/blob/8-16-stable/doc/api/commits.md
Is it possible to get more logs for analysis?

#!/usr/bin/env python
# -*- coding: utf-8 -*-

import requests
import base64
import urllib3

urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)

TOKEN = "ohixx5xu2bfKTy2ns131"
PROJECT_ID = 22


headers={'PRIVATE-TOKEN': TOKEN}

payload = {
    "branch_name": "master",
    "commit_message": "Automatic update",

    "actions": [
        {
          "action": "create",
          "file_path": "services.log",
          "content": "some content"
        }
    ]

}


r = requests.post(
    "https://192.168.0.1/api/v3/projects/{}/repository/commits".format(PROJECT_ID),
    headers=headers,
    params=payload,
    verify=False
)
data = r.json()
print(data)

Are you sure your instance still understands v3 of the API? If I remember correctly GitLab dropped support for v3 2 years ago.

I have GitLab Community Edition 8.14.0. V4 is not supported