Hi @AndreyK2478 ! Whenever I encounter the, "There was a problem with the request" error. I try to check the JSON body of my request, because it's probably not what Hubspot API is expecting.
In your case, the date format "2024-11-05T00:00:00"is returning an error because it lacks the time zone offset, which HubSpot requires to correctly parse date-time strings. HubSpot typically expects dates in ISO 8601 format, which includes a time zone offset, such as "2024-11-05T00:00:00Z"
Try adding a Z at the end of your date format and see if it works.
I suspect also that you are using an incorrect property name. Try using "hs_createdate" instead of "createdAt"
Hi @AndreyK2478! Whenever I encounter the, "There was a problem with the request" error. I try to check the JSON body of my request, because it's probably not what Hubspot API is expecting.
In your case, the date format "2024-11-05T00:00:00"is returning an error because it lacks the time zone offset, which HubSpot requires to correctly parse date-time strings. HubSpot typically expects dates in ISO 8601 format, which includes a time zone offset, such as "2024-11-05T00:00:00Z"
Try adding a Z at the end of your date format and see if it works.
I suspect also that you are using an incorrect property name. Try using "hs_createdate" instead of "createdAt"
Hi @AndreyK2478! Whenever I encounter the, "There was a problem with the request" error. I try to check the JSON body of my request, because it's probably not what Hubspot API is expecting.
In your case, the date format "2024-11-05T00:00:00"is returning an error because it lacks the time zone offset, which HubSpot requires to correctly parse date-time strings. HubSpot typically expects dates in ISO 8601 format, which includes a time zone offset, such as "2024-11-05T00:00:00Z"
Try adding a Z at the end of your date format and see if it works.
I suspect also that you are using an incorrect property name. Try using "hs_createdate" instead of "createdAt"
You can check property names using the properties API:
Hi @AndreyK2478 ! Whenever I encounter the, "There was a problem with the request" error. I try to check the JSON body of my request, because it's probably not what Hubspot API is expecting.
In your case, the date format "2024-11-05T00:00:00"is returning an error because it lacks the time zone offset, which HubSpot requires to correctly parse date-time strings. HubSpot typically expects dates in ISO 8601 format, which includes a time zone offset, such as "2024-11-05T00:00:00Z"
Try adding a Z at the end of your date format and see if it works.
I suspect also that you are using an incorrect property name. Try using "hs_createdate" instead of "createdAt"