CRM object batch api null hubspot_owner_id

Hi !
I am using hubspot node js sdk “@hubspot/api-client”: “^13.4.0” and trying to access the hubspot_owner_id via crm.objects.batchApi

but its not always returing the hubspot_owner_id . Sometimes it returns null sometimes hubspot_owner_id .

Hi @ASoni00,

Thanks for posting your question in the community!

The hubspot_owner_id field typically appears as null when no owner is assigned to the record.
Please verify the following potential causes:

  • The record may not currently have an assigned owner, or its previous owner might have been deleted.
  • The hubspot_owner_id property may not have been included in the properties array when invoking the Batch API request.
  • Ensure that the correct property (the internal value hubspot_owner_id, not the display name) is being requested in the API call.

For further troubleshooting, it would be helpful if you could share a bit more information. For example:

  • A screenshot of the record in the CRM (with record ID and owner visible).
  • The relevant part of your source code that performs the batch request.
  • The corresponding API response or output you’re seeing.

This will help determine whether it’s a data issue or an API behavior related to the request structure.

Did my post resolve your question? If so, please consider marking it as the accepted solution to help others in the community.

Kind regards
Dennis