You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What is the link to the page that needs updating? Provide multiple links if needed.
example has trailing slash in allowed_cors_origins
What needs to be documented?
remove the trailing slash in the example for allowed_cors_origins:
{
"allowed_cors_origins": [
"https://www.yourstorefront.com"
],
"channel_id": 1,
"expires_at": 1885635176
}
response when using example:
{
"status": 422,
"title": "The following fields are invalid: allowed_cors_origins:has_invalid_suffix",
"type": "https://developer.bigcommerce.com/api-docs/getting-started/api-status-codes",
"errors": {
"allowed_cors_origins:has_invalid_suffix": "A supplied origin has a trailing slash or other special character following the end of the domain. Please remove any trailing characters in supplied origins."
}
}
<!-- Ticket number or summary of work -->
# [Issue-377](#377)
## What changed?
Removed trailing slash from example
## Release notes draft
N/A - Bug Fix
## Anything else?
<!-- Add related PRs, salient notes, additional ticket numbers, etc. -->
ping {names}
What is the link to the page that needs updating? Provide multiple links if needed.
example has trailing slash in allowed_cors_origins
What needs to be documented?
remove the trailing slash in the example for allowed_cors_origins:
{
"allowed_cors_origins": [
"https://www.yourstorefront.com"
],
"channel_id": 1,
"expires_at": 1885635176
}
response when using example:
{
"status": 422,
"title": "The following fields are invalid: allowed_cors_origins:has_invalid_suffix",
"type": "https://developer.bigcommerce.com/api-docs/getting-started/api-status-codes",
"errors": {
"allowed_cors_origins:has_invalid_suffix": "A supplied origin has a trailing slash or other special character following the end of the domain. Please remove any trailing characters in supplied origins."
}
}
What is currently documented?
{
"allowed_cors_origins": [
"https://www.yourstorefront.com/"
],
"channel_id": 1,
"expires_at": 1885635176
}
The text was updated successfully, but these errors were encountered: