DAM category with slash throws errors

Created on 2 December 2024, 2 months ago

Problem/Motivation

We have a category in our DAM called "IF/THEN Collection" and since it has been created we see errors for requests to /acquia-dam/categories?category=IF%2FTHEN%20Collection that look like:

Client error: `GET
https://api.widencollective.com/v2/categories/IF/THEN%20Collection` resulted
in a `401 Unauthorized` response:
{
"error": true,
"response_code": 401,
"error_message": "Unauthorized",
"stack_trace": null
}

All the other categories are working fine, so I suspect the handling of the slash in the category name is the culprit.

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇺🇸United States cYu

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024