Create new contact by hubspot api on server but response not success
Create new contact by hubspot api on server but response not success .....
On localhost server working properly and get contacts in Hubspot contacts but not working on live cpanel hosting why ? please guide me thank you..
My code is .... this code is working on localhost perfectly but not on live server
Are you seeing any specific errors? Can you share the error code / error body you're seeing when these requests fail?
I'm not particularly familiar with PHP, but what exactly does the final JSON body look like? It seems like you might be including the properties array inside another array, instead of an object? The final JSON body should appear like this:
Also, please refrain from including your hapikey in forum posts. Since this is a public forum, including authentication details can compromise your portal's security.