-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SP OnPrem - Search is not working #63
Comments
Thanks @diabhoil ! And yes, need to update the Readme with updated instructions. |
Hey @tavikukko Headers are (I removed some values with "---"): POST /_api/contextinfo HTTP/1.1
Accept: application/json
Accept-Encoding: gzip, deflate, br, zstd
Accept-Language: ---
Cache-Control: no-cache
Connection: keep-alive
Content-Length: 0
Content-Type: application/json;charset=utf-8
Cookie: ---
Host: ---
Origin: ---
Pragma: no-cache
Referer: ---
Sec-Fetch-Dest: empty
Sec-Fetch-Mode: cors
Sec-Fetch-Site: same-origin
User-Agent: ---
X-ClientService-ClientTag: SPEDITOR
X-PnP-BatchNever: 1
X-PnP-CacheAlways: 1
X-PnP-CacheKey: 782933992
X-PnPjs-NoDigest: 1
X-PnPjs-RequestId: ---
sec-ch-ua: ---
sec-ch-ua-mobile: ?0
sec-ch-ua-platform: "Windows" The "Accept" header should be "application/json; odata=verbose". |
Ok, this seems to be issue in PnPJS, and its the backbone of SP Editor. Could you test, what else is failing in OnPrem? Thanks! |
Well as far as I tested on a SharePoint 2013 (it is kinda old and out of support anyway, but I guess its the same for 2016 and maybe in some parts for 2019 too):
|
Wow, thank you @diabhoil ! |
The extension tries to request the context via _api/contextinfo but the headers send are wrong. It receives XML instead of JSON and fails with an error:
PS: the explanaiting in the README is wrong. There is no "watch" task and the "start" or "cracostart" task do not create the required manifest file for Edge to load the extension.
The text was updated successfully, but these errors were encountered: