But behavior is really strange for me.
I get correct answer from API. But file content seems to updated not so fast.
If I am trying to open attachment from attachment panel, it can have old content.
When I am trying to open this file via File manager, sometimes it has correct data, sometimes no.
It seems like Hubspot has a lot of servers for filing and they are synchronizing in some time.
Probably, I am not correct in my thinking.
Could you clarify this point?
Or probably I do something not right.
Thank you for your patience on this; this topic slipped under my radar. Replaced files will often update quickly, but they can take up to 2 hours to propagate across the our CDN. This Knowledge Base article has more details:
If I try to update file content (it doesn’t matter if file name is new or old) using this method: https://developers.hubspot.com/docs/methods/files/post_files_file_id
It doesn’t work correct almost always. Often I can see file with old content, but I can see that parameter “Updated” is always changed in File Manager.
I have found only one correct way how to add really new file to hubspot via API.
It is just uploading file with new content and new name.
It works always.
@Derek_Gervais Probably can you support me in my problem?