APIs & Integrations

ADoe5
Member

Error creating form

When I trying to create form I getting:

 

 

{
      status: 'error',
      message: 'internal error',
      correlationId: 'b7d7ea51-ce83-4541-ba82-9850339e44a8'
}

 

Has someone sold that issue?

 

0 Upvotes
5 Replies 5
ADoe5
Member

Error creating form

Hello Dennis, I found the source of the problem, for some reason Chinese Traditional has code zh-HK, where I can find list of all language codes?

dennisedson
HubSpot Product Team
HubSpot Product Team

Error creating form

If you are talking about the lang codes used by the form, you can find them here

 

0 Upvotes
ADoe5
Member

Error creating form

Yeah thanks, but it looks they a bit differ, at least Chinese Traditional missed in article list.

photo_2021-05-11_17-21-55.jpg

0 Upvotes
dennisedson
HubSpot Product Team
HubSpot Product Team

Error creating form

@ADoe5 , I just created a form translation for Chinese Traditional via the UI and then pulled it down via the API to see what it returns.  This is what I received:

"language": "zh-hk",
So it looks like Chinese Traditional is equivalent to Chinese (Hong-Kong)
0 Upvotes
dennisedson
HubSpot Product Team
HubSpot Product Team

Error creating form

Heyo @ADoe5 

Mind posting your code so we can see what you are working with?

0 Upvotes