Skip to content

Conversation

@Manny-r31
Copy link
Contributor

@Manny-r31 Manny-r31 commented Nov 17, 2025

Documentation Update Pull Request

Description

Added new error codes

Related Issue

#636

Type of Change

  • Update to existing documentation

Documentation Change Details

Added following error codes:

authblock_is_invalid: The authblock is invalid or doesn't reference an existing subscriber.
authblock_is_expired: The expires_at timestamp of the subscriber from the authblock has passed.
from_fabric_address_id_does_not_match_subscriber: The provided from_fabric_address_id does not match an address for the provided subscriber.
uri_does_not_resolve_to_address: The provided URI does not resolve to a recognized address.
uri_does_not_resolve_to_resource: The provided URI does not resolve to a valid resource.
uri_resolves_to_unsupported_resource: The provided URI resolves to a resource that is unsupported for dialing.
address_has_no_valid_channels: The address has no valid channels.
invalid_pstn_destination: The PSTN destination is either missing or not in E164 format.
invalid_sip_destination: The SIP destination is either missing or could not be parsed.
not_routable: Unable to locate a route to the destination number. Please check geographic permissions and the destination number, and contact Support if issues persist.

Removed invalid_parameter

Motivation and Context

New error codes were added to replace the invalid parameter error code. These error codes should be present on the docs.

Solves #636

Checklist:

  • My documentation follows the style guidelines of this project
  • I have performed a self-review of my documentation
  • My changes generate no new warnings
  • Builds successfully locally

@netlify
Copy link

netlify bot commented Nov 17, 2025

Deploy Preview for signalwire-docs ready!

Name Link
🔨 Latest commit 42d9962
🔍 Latest deploy log https://app.netlify.com/projects/signalwire-docs/deploys/691ff8045c9153000722dffe
😎 Deploy Preview https://deploy-preview-644--signalwire-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 42 (🟢 up 11 from production)
Accessibility: 92 (no change from production)
Best Practices: 92 (no change from production)
SEO: 89 (no change from production)
PWA: -
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link
Contributor

@cassieemb cassieemb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The invalid_parameter code is not being removed entirely - we just replaced the usages within the fabric client endpoints with more descriptive errors instead. Apologies about the confusion, I should have made that more clear in the ticket!

@Manny-r31
Copy link
Contributor Author

@cassieemb Ah yep that makes more sense in my head as well now that I think about it. Sorry about that! Should be a quick change to add it back!

@Manny-r31 Manny-r31 changed the title Removed invalid_parameter error code. Added new error codes. Added new error codes to SW REST API Documentation Nov 21, 2025
@Manny-r31 Manny-r31 marked this pull request as draft November 21, 2025 12:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants