The `addNote` function seems to user V2 API which results in an `Unexpected Server Error` response: ``` { "transitional": { "silentJSONParsing": true, "forcedJSONParsing": true, "clarifyTimeoutError": false, "legacyInterceptorReqResOrdering": true }, "adapter": [ "xhr", "http", "fetch" ], "transformRequest": [ null ], "transformResponse": [ null ], "timeout": 0, "xsrfCookieName": "XSRF-TOKEN", "xsrfHeaderName": "X-XSRF-TOKEN", "maxContentLength": -1, "maxBodyLength": -1, "env": {}, "headers": { "Accept": "application/json, text/plain, */*", "Content-Type": "application/json", "x-api-token": "e8abc0f291ac9e5bde648aa3daf62f02f2696d69" }, "method": "post", "data": "{\"org_id\":12345,\"content\":\"content\"}", "url": "https://api.pipedrive.com/api/v2/notes", <- ‼️ "allowAbsoluteUrls": true } ``` This says that Notes are not available via V2 yet: https://pipedrive.readme.io/docs/pipedrive-api-v2#api-v2-availability The same request with curl using the V1 API works: ``` curl -X POST -d '{"org_id":12345,"content":"some content"}' --url "https://mainmatter.pipedrive.com/api/v1/notes" --header "x-api-token: e8abc0f291ac9e5bde648aa3daf62f02f2696d69" --header "Content-Type: application/json" ```
Activity
marcoow commentedon Mar 9, 2026
nvm, I just realized I have to set the
basePathto/v1myself in the config…