API - Error 400 - "You can't add null value to your request"

Hey everyone !

I’m trying to set up my first API in my bubble, which is the DropContact’s API. I have to make a Post and a Get request, but I’m struggling to make the Post request work.

I’m completely new to APIs and JSON, so my error may be due to a bad syntax or something like that, but I can’t locate it. I’ve been struggling with this issue for 2 days nows :sweat_smile:

You will find below some screenshots of my configuration.

And here is the API Documentation Dropcontact API

What do you think I should do ?

Thanks for your help !

Hi @ThomasC2A :wave:
I think you have to remove }from email & website
& also ,from language

Hi @viquarahmed07 ! Thanks for your response :slight_smile:

I changed that, and now have another error message, shown in the screenshot below :sweat_smile:

Do you have any idea why ?

Thanks for your help :slight_smile:

I think this cause error remove " "double quotations from application/json
Screenshot 2022-08-20 at 16.39.49
Do let me know if this fix ?

@viquarahmed07 Back to the first error I’m afraid :confused:

@ThomasC2A You need to add commas here , except from the last one i.e. language

if that doesn’t fix
Maybe @Jici can help (He is an expert in API setups)?

1 Like

look also at how the JSON is built in the documentation. You don’t follow the JSON structure expected by the API endpoint.
However, their documentation is not really well built.

	"data": [{
		"first_name": "Samuel",
		"last_name": "Jones",
		"email": "contact@bigcorp.com",
		"website": "https://www.website.com"
	"siren": true,
	"language": "en"

Take note that siren is a bolean and shouldn’t be between quotes,


Hey @Jici ! Nice to meet you ! I saw some of your message here and there on the forum :smiley:

You’ve hit the right spot ! I just had to copy paste what you sent me :sweat_smile:

I still have lots of learning to do on APIs :sweat_smile:

Thanks so much to both of you @viquarahmed07 @Jici !!!

Have a great week-end :slight_smile: