Subscribe Now

Trending News

Blog Post

errordomain=nscocoaerrordomain&errormessage=could not find the specified shortcut.&errorcode=4
How To

errordomain=nscocoaerrordomain&errormessage=could not find the specified shortcut.&errorcode=4

Error Domain=NSCocoaErrorDomain Code=3840 “JaSON text did not start with array or object and option to allow fragments not set.”

MSAL 1.1.11 – nscocoaerrordomain

ADFS + cert Based Auth + SSO extension distributed by MDM.

Able to login and use the App till token got expired. When token got expired (Token expiry configured Via conditional access policy “Grant” option), MSAL switches to broker extension auth page and getting an error.

Error Domain=NSCocoaErrorDomain Code=3840-3850 “JSON text did’nt start with array or item and option to allow fragments is not set.” User Info={NSDebugDescription=JSON text did not start with array or object and option to allow fragments not set., MSALCorrelationIDKey=29B66572-67E4-4E15-A6C0-DF34A695471A, MSALBrokerVersionKey=6.5.4}

Could you please check and help us what caused this issue. If user removes the account manually from Authenticator app and try manually remove the account then it started working again. With next token expiry it will again causing the issue.

[Image Picker plugin] [Image Picker plugin] its crashing on ios app upon permission pop up – nscocoaerrordomain

We were having a similar issue and solved it by adding a {disable_popover: true} option to the getPictures() function as proposed here:

The getPictures() JavaScript code in the ImagePicker client action now is:

function(results) {
for (var i = 0; i < results.length; i++) {
console.log(‘Image URI: ‘ + results[i]);


}, function (error) {
console.log(‘Error: ‘ + error);
},{ maximumImagesCount:$parameters.maximumImagesCount,
width: $parameters.width,
height: $parameters.height,
disable_popover: true

Disclaimer: we are using the GitHub code from:

Hope this helps!


errordomain= nscocoaerrordomain &errormessage=找不到指定的捷徑。&errorcode=4

The error nscocoaerrordomain &errormessage says, it’s not valid JSON. By the way, why .mutableContainers? You are assigning the result to an immutable dictionary and don’t use NS… collection types and NSMutableURLRequest in Swift at all. I guess the issue is you are using a GET request but you pass (POST) parameters in the http body which doesn’t work. –


Use JSONSerialization.jsonObject(with: data!, options: nil) or JSONSerialization.jsonObject(with: data!). it will work –

Ankit Jayaswal

#Ankit Jayaswa, I tried with your code bro, but it doesn’t work. 🙁 –

Kawazoe Kazuke

Very probably your server is returning an error result which is not a JSON. What do you get with putting this before //parsing the response? print(String(data: data!, encoding: .utf8) ?? “???”) –


Do you ming giving use let reponseString = String.init(data:data, encoding:.utf8)? Or at least check if it’s JSON valid on a JSON validator?

errordomain= nscocoaerrordomain &errormessage=не удалось найти указанную быструю команду.&errorcode=4

What does the error “The specified procedure cannot be found” mean?

nscocoaerrordomain &errormessage: Some users who have upgraded their system from Windows 10 to Windows 11 have started encountering problems when opening certain applications. The resulting error shows the following message: “There was a problem starting [filename].

The specified procedure could not be found.”. Some victims face a problem when trying to open a third party application. Others have difficulty accessing video files and photos through the Photos and Movies & TV apps. Some have also encountered the same error when trying to open the default Windows Defender to run a scan.

The information we have collected indicates that there are several main causes of this error – a corrupted file system, malware interference, a system crash, as well as other problems. We decided to put together all the solutions that have proven their effectiveness on the example of other victims of the problem. Unfortunately, many users noted only the temporary disappearance of the error message. The problem disappeared, but then returned some time after the solution. Many suspect that most of it depends on Microsoft themselves – they should release an update to fix some internal glitches that cause the error. Before this happens, try the solutions below.

1. Install the latest updates

As mentioned above, the “Could not find the specified procedure” error is usually related to internal problems in Windows 11. The operating system itself is new, which means it is reasonable to assume that the cause of the error may be hiding in the operating system itself. Depending on when you’re reading this guide, try checking your system for available updates – it’s possible that a fix has already been released and is waiting to be installed. You can do this by doing the following:

Click on the Launch button at the bottom of the desktop and select Settings .

Then go to Windows Update and click on Check for updates .

If updates are already found, just download and install them.

After that, restart your computer and check if the error appears again. If no new updates have been found yet, move on to the other solutions below.


2. Run file recovery commands

These commands below are designed to resolve issues related to missing or corrupted files. We will use the Windows command line, specially created for executing various commands. Follow these instructions below:

Click on the search magnifying glass and type CMD

Right-click on the found one and select Run as administrator . Agree with the action.

After opening the console, type these commands one by one, pressing Enter after each one.

gpupdate /force

sfc /scanfile=c:\windows\system32\ieframe.dll

sfc /scannow

When the repair process is complete, exit the console and restart your computer.

3. Scan your system for malware

Malware can be one of the causes of DLL errors. Various infections tend to interfere with DLLs and damage other parts of the system. If you’ve been using Windows 11 for some time now and think that it might be affected by unwanted software or malware, scan your system using standard Windows Defender or more advanced software. We recommend Malwarebytes, a reliable and time-tested antivirus that excels at detecting and eliminating potential malware. You can download it and access the full 14-day malware protection period using the button below.

4. Reinstall the problematic application.

If you’re having a problem with a specific app you downloaded from the Microsoft Store or other resources, try uninstalling it and reinstalling it. Here is how you can do it in Windows 11:

Click on the search magnifying glass and type Control Panel .

Open it and click on Uninstall programs under Programs . If you don’t see these options, make sure View is in the top right corner on Category .

So, you will now see a list of all installed programs. Right-click on the one you’re having problems with and click Uninstall .

After uninstalling the program, install it again and check if the same error message appears as before.

Краткое описание

Не удалось найти указанную веб-страницу в кластере службы управления правами Active Directory.


Устраните неполадки с сетевым подключением.



Related searches

How do I get around NSCocoaErrorDomain:257 when pulling
How can i fix “Error Domain=NSCocoaErrorDomain Code
Error Domain=NSCocoaErrorDomain Code=4 “The file doesn
Why do I get the error ‘Domain=NSCocoaErrorDomain Code

Review errordomain=nscocoaerrordomain&errormessage=could not find the specified shortcut.&errorcode=4.

Your email address will not be published. Required fields are marked *

Related posts