Form submit data 500

Hi,
I am trying to submit a form data using “Submit data form” API:
https://developers.hubspot.com/docs/methods/forms/submit_form_v3
I am new to HubSpot API but it keeps giving me 500 error without any further informations and I can’t find the reason why in your documentation.
This is the error response:

{
"status":"error",
"message":"An internal server error occurred",
"correlationId":"db4d0f85-e646-46d2-975c-fe1166628677",
"requestId":"f931c0eb-346e-4f55-94aa-df424bf07b9e"
}

Welcome, @matteomomo.

Happy to help. To troubleshoot effectively, though, I’ll need more information than the error response. Would you share:

  1. The full request URL you used, including the method.
  2. The raw JSON request body, including any headers.

Hi, thank you for your help.

Changing http client to cURL fixed my issue.

Glad to hear it, @matteomomo!