Apify Discord Mirror

Updated 5 months ago

Bug Report 2024-03-31: Can`t clear secret input

At a glance

The post describes an issue where an error occurs when trying to empty a secret input, with the error message "Error: Expected value to be of type string but received type 'null'". Community members discuss this issue in the comments:

One community member notes that the value actually cleared, but the error message can be confusing. Another community member confirms they are unable to clear the secret input and receive an error in the developer console.

A community member asks for the exact steps to reproduce the issue, and another provides a link to an Apify actor that demonstrates the problem. They explain that with an optional secret input, the value is cleared but with an error warning, while with a required secret input, the error is shown in the developer console.

The community members thank each other and one reports the issue to the team, but it is unclear if the issue is confirmed as a bug or just a problem with the user's Chrome browser.

Useful resources
When I want to empty secret input, error show up
Error: Expected value to be of type string but received type "null"
Attachment
image.png
!
R
7 comments
The value actually cleared, but the error message can make confusion.
Update: can't clear secret input, receive error in dev console
Attachment
image.png
hi, I had no luck reproducing this issue, could you please describe the exact steps how to get this error
Hello Try this actor: https://console.apify.com/actors/x5HHNtX41N6hb2Zyx

Secret_1 is OPTIONAL
Secret_2 is REQUIRED

Try set both with some values, then try set it to empty. 2 input produce error differently.

1) In case the OPTIONAL one:
the value is cleared but with error warning

2) For the REQUIRED one the error is in dev console (Chrome)
Attachments
image.png
image.png
thanks! I reported it to the team
thank you. could you confirm it is a bug or just a problem with my chrome browser
Add a reply
Sign up and join the conversation on Discord