Open felixsuarez0727 opened 2 years ago
We have found issues that are potential duplicates:
We have found issues that are potential duplicates:
Testcases are available here:
Issues found so far while testing:
When we run the IMPORT_FILE_TEST api in the Files HubSpot Test datasource, created by Felix, the import seems to run fine, but the output seen on the response tab is - "{ ""id"": ""AAAAEZ6whGI"", ""links"": { ""status"": ""https://api-na1.hubspot.com/files/v3/files/import-from-url/async/tasks/AAAAEZ6whGI/status"" } }" When we go the above status URL, it gives the following message : {"status":"error","message":"Csrf token is missing from the request.","correlationId":"66edde4a-4228-4165-9c06-d30f50e3a443","engagement":{"hapikey":"Not engaged, auth is missing","oauth-token":"Not engaged, auth is missing","service-to-service":"service-to-service not engaged. Metadata for service-to-service request not found.","internal-cookie":"internal-cookie not engaged. Cookie not found in the request.","app-cookie":"Engaged"}}
In case of Import File, the fields (especially the mandatory ones) are not self-explanatory and its tough for the user to understand what to enter in the fields.
Import fails in this scenario - https://www.loom.com/share/992d9c726aa8423abc3cf06484b6560e
Delete file gives an error on RUN. However, it looks like the file does get deleted, though the error is shown. In Delete file, What is the object ID? Is this same as the ID that we get in Search files?
How to search for all folders? (E.g. I create a folder, there seems to be no way to find if the folder has got created?)
API Return Codes and Number of Records data are not present. And sometimes we don't see the Connect widget options either.
Upload debug does not work incase of import
HubSpot CMS Files Observations
# | Question/Observation | Related Issue | Resolved |
---|---|---|---|
1 | When we run the IMPORT_FILE_TEST the output seen on the response tab | - | Yes |
2 | Import File, the fields are not self-explanatory | #14296 | Yes |
3 | Import fails | - | Yes |
4 | Delete file gives an error | #14108 | Yes |
5 | In delete file, What is the object ID? | - | Yes |
6 | How to search for all folders? | - | No |
7 | API Return Codes and Number of Records data are not present | - | No |
8 | Upload debug does not work incase of import | - | Yes |
Updates about observations
@felixsuarez0727 : Can you please close the issue and then add QA tag for the same
HubSpot Files API Saas Integration
Description:
Files hosted with the files tool can be uploaded and used in your HubSpot and external content, as well as attached to records using the engagements API. For example, if your company is building their website using HubSpot CMS, you can use the files API to upload and store assets in HubSpot, then serve it through the HubSpot CMS. (Each will be an action).
Documentation:
https://developers.hubspot.com/docs/api/files/files
API Actions Progress
Notes