I’m trying to create a new (custom) field on organizations via API but just get
{“success”:false,“error”:“Scope and URL mismatch”,“errorCode”:403,“error_info”:“Please check developers.pipedrive.com”}
I tried both with the api.pipedrive endpoint (which is exposed via OpenAPI) or with the customdomain.pipedrive endpoint.
It works fine to retrieve the custom fields but I cannot create new or update existing fields (e.g. renaming).
I’m sending the auth_token in the Authorization header (as descibed in the OpenAPI doc) instead of appending it to the URL. Could this be the root cause?
It works just fine with other API methods like updating a deal etc. so I doubt it is related to the auth header.
I’m a bit lost, so any help would be appreciated!