Closed nozomione closed 1 month ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
refinebio-web | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Aug 7, 2024 9:26pm |
🗒️ Currently HubSpot API requests fail due to an unauthorized error 404
with the message This hapikey doesn't exist
.
The dev
error:
I've tested production
and it also fails causing the CCDL-data-requesters
contact list to remain unchanged (it seems that the date of the last contact added to the list was 10/14/2021).
The production
error:
Based on the error message, this may be resolved by updating our HubSpot API key 💡 Tagging @davidsmejia.
Update Note:
v16
deprecation on 9/11/2023, currently we'll hold off updating the secrets/env var values for HubSpot API Key (outdated) in production
(uses v16
).dev
, we'll migrate the HubSpot API version to v3
(see the issue for more details). Regarding 434e5e23903e9895012ba55f79a8c53ffb72ef1d, currently via FE, when a user submits a new data request using the same email address to submit the previous one, we will concatenate that new data to the existing data of the Dataset Request Details
property (set as multi-line text
), resulting in a long string.
Instead of string concatenation, alternately we can;
Dataset Request Details
property to view its submission history (property value
, source
, and date
are available) via each user's contact pageDataset Request Details
property's submission history via API (e.g., using this endpoint, we can easily gather and analyze user-submitted data to assist them)Let me know if this concatenation logic can be removed from the script!
The Dataset Request Details
property history in a user contact page (it's a test data):
e.g.,) The concatenated property values on each request:
Issue Number
Closing #222
Purpose/Implementation Notes
CCDL-data-requesters
contact list in Hubspot:v1
tov3
Changes includes:
src/data-requests/hubspot
next.config
:HUBSPOT_ACCESS_TOKEN
STAGE_HUBSPOT_ACCESS_TOKEN
src/data-requests/slack
to fix a bug (at c923248b1742c0e111fda9e114185334cbb84150)pages/api/data-requests
(at d33d11a4e0d8e77ade01c1b6d2e5f5b1b7e9d52c)Types of changes
Checklist