Forum Discussion
KevinChen0512
May 10, 2024Copper Contributor
Listing tabs in a channel encounters "Value cannot be null. (Parameter 'stringToUnescape')" error
Hi,
We use the List tabs in channel API in our product, and it works fine for all cases, except one.
We notice that when sending this API with one of our customer's channel, we will get the following response:
{
"error": {
"code": "BadRequest",
"message": "Value cannot be null. (Parameter 'stringToUnescape')",
"innerError": {
"code": "InvalidRequest",
"message": "Value cannot be null. (Parameter 'stringToUnescape')",
"details": [],
"date": "2024-05-10T01:38:38",
"request-id": "10e6b074-a2dc-4950-aae5-8bbe68d838b8",
"client-request-id": "10e6b074-a2dc-4950-aae5-8bbe68d838b8"
}
}
}
No matter we tried how many times, this error persists.
For comparison, if we send the same API on another channel, we can get correct response.
Do anyone also encounter this error?
We hope Microsoft could help us figure out why and how we can handle this case.
Thank you.
- Nils_GoldkuhleCopper Contributor
I found a solution for that issue. It turns out you have to check the affected teams channel for a "null" tab. For me, the general channel had a "Posts" "Files" and "null" tab. Remove the "null" tab and you are good to go.
- Nils_GoldkuhleCopper Contributor
I am currently experiencing the same error