Skip to content
HubSpot Developer Changelog

Upcoming: Enforcing Deal Currency Code Validation

Beginning July 31st, 2023, we will be implementing validation on the currency code property for deals.  

When making an update or create request to the Deals endpoint, only the default currency or currencies established in the HubSpot account will be recognized as valid for the request being sent.   

If a request is sent that does not meet the validation requirements, a 400 bad request response will be sent.  The response will be similar to this example:



message:"Property values were not valid: [{"isValid":false,"message":"\"BRL\" is not a part of the current effective currency codes for portal 104008696","error":"INVALID_OPTION","name":"deal_currency_code"}]",




Why is this happening?

Currently, any update or create request made to Deals endpoints can set the currency code of a deal to any code creating less reliable data in a customer’s account.  Adding this validation will further improve the quality of data. 

When is this happening?

This change will become effective July 31st, 2023.

Please let us know if you have any questions by joining the discussion in our community forum.