# (GPT development) Unable to save OpenAPI spec

**URL:** <https://community.openai.com/t/gpt-development-unable-to-save-openapi-spec/495346>\
**Category:** Plugins / Actions builders\
**Tags:** chatgpt, plugin-development, chatgpt-plugin, custom-gpt, chatgpt-gpt\
**Created:** [November 11, 2023, 4:06pm UTC](https://community.openai.com/t/gpt-development-unable-to-save-openapi-spec/495346 "2023-11-11T16:06:52Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![danfhern](https://sea2.discourse-cdn.com/openai1/user_avatar/community.openai.com/danfhern/32/243394_2.png) [@danfhern](https://community.openai.com/u/danfhern)\
**Post date:** [November 11, 2023, 4:06pm UTC](https://community.openai.com/t/gpt-development-unable-to-save-openapi-spec/495346/1 "2023-11-11T16:06:52Z")

</div>

When I’m using the new OpenAPI spec editor I’m unable to save updated versions of the spec after adding new endpoints. Or at least it’s incredibly flaky.

Anyone familiar with how to do this properly?

Steps I tried:

1. Configure GPT
2. Update OpenAPI spec and see new actions populate below
3. Click back to configure (I also tried just staying on this page too)
4. Click update and confirm (which says it successfully completed with a link to the GPT)

After these steps I go back to the GPT and try and use the endpoints and they don’t work. (I’ll also note that not being able to see the actions run makes it really hard to debug what’s happening with a GPT) Also when going back to edit the API spec, I can see it didn’t save.

Super frustrating end to a dev cycle when creating new capabilities for a GPT.

---

<div class="post-metadata">

**Author:** ![PromptBreeders](https://avatars.discourse-cdn.com/v4/letter/p/71c47a/32.png) [@PromptBreeders](https://community.openai.com/u/PromptBreeders)\
**Post date:** [November 11, 2023, 4:39pm UTC](https://community.openai.com/t/gpt-development-unable-to-save-openapi-spec/495346/2 "2023-11-11T16:39:00Z")

</div>

I came to the conclusion you have to delete and recreate the Action spec each time you want to modify them. Then it works.

---

<div class="post-metadata">

**Author:** ![danfhern](https://sea2.discourse-cdn.com/openai1/user_avatar/community.openai.com/danfhern/32/243394_2.png) [@danfhern](https://community.openai.com/u/danfhern)\
**Post date:** [November 11, 2023, 4:43pm UTC](https://community.openai.com/t/gpt-development-unable-to-save-openapi-spec/495346/3 "2023-11-11T16:43:12Z")

</div>

Ah I didn’t think of that. Good idea. I’ll try that.

\*\*\* Confirmed this works!

---

<div class="post-metadata">

**Author:** ![paul.eden](https://avatars.discourse-cdn.com/v4/letter/p/7feea3/32.png) [@paul.eden](https://community.openai.com/u/paul.eden)\
**Post date:** [November 15, 2023, 8:41pm UTC](https://community.openai.com/t/gpt-development-unable-to-save-openapi-spec/495346/4 "2023-11-15T20:41:58Z")

</div>

That’s a helpful work-a-round for the bug. Thank you for sharing.

I would prefer not to have to recreate the OAuth config every time I make a change so I’m looking forward to a fix.

---

<div class="post-metadata">

**Author:** ![EricGT](https://sea2.discourse-cdn.com/openai1/user_avatar/community.openai.com/ericgt/32/20571_2.png) [@EricGT](https://community.openai.com/u/EricGT)\
**Post date:** [January 6, 2024, 9:17pm UTC](https://community.openai.com/t/gpt-development-unable-to-save-openapi-spec/495346/5 "2024-01-06T21:17:10Z")

</div>


