Hello! Please help me figure out why i’m getting this error when trying to run PUT API method:
{‘error’: ‘not found: /api/docs/4KK7bo5hpCsfqEZBfMsqRZ/tables/Table1/columns?replaceall=True’}
At the same time all other methods in /columns section like GET, PATCH, POST running with no problems. I’m using Python (i’m just learning, sorry if there is an obvious mistakes):
import requests
headers = {“Authorization” : “Bearer <api_key>”}
base_url = “http://localhost:47478/api/”
mod_col_url = “docs/4KK7bo5hpCsfqEZBfMsqRZ/tables/Table1/columns”
todo = {“columns”: [{“id”: “skus”,“fields”: {“label”: “SKUS”}},{“id”: “amount”,“fields”: {“label”: “AMOUNT”}}]}
parameters = {“replaceall”: True}
mod_columns = requests.put(base_url+mod_col_url, params = parameters, headers = headers, json = todo).json()
print(mod_columns)