# Mapbox Integration - Unable to add secrets

**URL:** <https://community.hubspot.com/t/mapbox-integration-unable-to-add-secrets/102617>\
**Category:** APIs & Integrations\
**Tags:** companies\
**Created:** [March 14, 2024, 4:54pm UTC](https://community.hubspot.com/t/mapbox-integration-unable-to-add-secrets/102617 "2024-03-14T16:54:18Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ChrisSosa1337](https://avatars.discourse-cdn.com/v4/letter/c/9dc877/32.png) [@ChrisSosa1337](https://community.hubspot.com/u/ChrisSosa1337)\
**Post date:** [March 14, 2024, 4:54pm UTC](https://community.hubspot.com/t/mapbox-integration-unable-to-add-secrets/102617/1 "2024-03-14T16:54:18Z")

</div>

I am working on the Mapbox sample project, and when attempting to add the Mapbox access token as a secret, it asks me to enter a value for the secret, and then I get an error that the secret was not added.

There seems to be **nothing on the entire world wide web about this specific error**. The error doesn’t say anything specific, I just get a generic error that the secret was not added.

Does anyone know why this would happen?

---

<div class="post-metadata">

**Author:** ![Jaycee\_Lewis](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jaycee_lewis/32/61352_2.png) [@Jaycee\_Lewis](https://community.hubspot.com/u/Jaycee_Lewis)\
**Post date:** [March 15, 2024, 4:06pm UTC](https://community.hubspot.com/t/mapbox-integration-unable-to-add-secrets/102617/2 "2024-03-15T16:06:21Z")

</div>

Hey, @ChrisSosa1337 👋 Did you get this resolved? If not, can you link us to the guide or instructions you are following, please? This will help give our community members more context into what you are experiencing.

Best,

Jaycee

---

<div class="post-metadata">

**Author:** ![ChrisSosa1337](https://avatars.discourse-cdn.com/v4/letter/c/9dc877/32.png) [@ChrisSosa1337](https://community.hubspot.com/u/ChrisSosa1337)\
**Post date:** [March 15, 2024, 4:18pm UTC](https://community.hubspot.com/t/mapbox-integration-unable-to-add-secrets/102617/3 "2024-03-15T16:18:26Z")

</div>

I’m trying to set up this project:

> **[ui-extensions-examples/mapbox-api at main · HubSpot/ui-extensions-examples](https://github.com/HubSpot/ui-extensions-examples/tree/main/mapbox-api)**
>
> main/mapbox-api

However, when trying to add my Mapbox access token as a secret using the “hs add secret” command, I get some obscure generic error that the secret cannot be added. I checked my HubSpot app permissions and I have the correct permissions for serverless functions enabled.
