fix: remove unnecessary try/catch W-22049636#398
Merged
WillieRuemmele merged 2 commits intomainfrom Apr 21, 2026
Merged
Conversation
WillieRuemmele
approved these changes
Apr 21, 2026
Contributor
QA Notes✅ : we throw all ../../oss/plugin-agent/bin/run.js agent publish authoring-bundle -o nga-prod-eca
? API name of the authoring bundle to publish Local_Info_Agent
Error (ApiAccessError): Error obtaining API token: invalid or missing access token.
Try this:
If using your own connected app or ECA, ensure it grants access to the SFAP APIs by providing these scopes:
* Access chatbot services (chatbot_api)
* Access the Salesforce API Platform (sfap_api)
* Manage user data via Web browsers (web)instead of: ../../oss/plugin-agent/bin/run.js agent publish authoring-bundle -o nga-prod-eca
? API name of the authoring bundle to publish Local_Info_Agent
──────────────── Publishing Agent ────────────────
✘ Validate Bundle 475ms
◼ Publish Agent
◼ Retrieve Metadata
◼ Deploy Metadata
Agent Name: Local_Info_Agent
Elapsed Time: 480ms
Error (ApiAccessError): Error obtaining API token: invalid or missing access token. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
Removes a redundant try/catch block. By eliminating this, we ensure that error actions are no longer suppressed.
What issues does this PR fix or reference?
@W-22049636@