About pipedrive api v2 custom fields

:bullseye: What is your goal?

help with scenario

:thinking: What is the problem?

its related to pipedrive api v2, i think its a ticket for the pipedrive aapp you need to fix, but maybe its not a bug.
in pipedrive api v1, in update a person, when you send an empty custom field, it pass ok, and just not changing the custom field value
in pipedrive api v2, in update a person, when you send an empty custom field, it throw 400 error (expected non-empty string etc)
the issue is that i donw know when i will pass empty value or not
in my scenario, i get some data to update some custom fields, and it may be empty
but when i have any value in the update person module, the module will send that custom field value in the request, and will just leave it empty

the desired behaviour is that i will put the ref in the module {{1.some_custom_field}} and if it is empty (pass as not exists in a filter) the module will not send the custom value at all in the request

i can bypass that by having ifempty({{1.some_custom_field}}:wink:
but it is not an elegant solution by any standard

am i wrong? is it not a custom app problem? how can i improve?

thank you

Welcome to the Make community!

What a great idea—I’m sure others will agree that this would be nice to have too!

If this is important to you, please submit this suggestion to the Idea exchange, under App Improvement Ideas. However, do search for a similar request first (and also upvote), just in case it has already been suggested to avoid duplicates.

1 Like

thank you for the reply!
i tried to get to App Improvement Ideas

but this is what i see:

A browser setting, browser extension, firewall, DNS setting, or ISP may be blocking the request.

I would try enabling third-party cookies for a start, or trying another device to access the page.

It is loading on my end just fine.