OneDrive.js:2 Uncaught Error: [OneDriveSDK Error] invalid format for client id - AAD: 32 characters (HEX) GUID - onedrive

I get this when trying to show the OneDrive web picker. I'm 100% sure the client id is correct.

Just register you app in this page(https://apps.dev.microsoft.com/#/appList), it will generate a GUID type client id.

Related

trying to login to agora rtm but receive the following error: The vendor enabled the dynamic key, but uses the static key

Hey guys i'm trying to log into agora rtm using javascript and passed the following params to the login function:
param 1: token = null;
param 2: uid = String(Math.floor(Math.random() * 10000))
passed them to the login function as follows:
await client.login({token, uid});
however recieve the following error messages:
RTM:ERROR Error Code 5 - The vendor enabled the dynamic key, but uses the static key. RTM:ERROR Error Code 5: login failed with args: {"token":null,"uid":"91"}.**
does anyone have a workaround for this? i have set the project as 'testing' in the agora console
The vendor(appId) you are using has token enabled or you can say need a token and appId
for authentication.

Agora.io security token generated invalid (Golang)

Having problem getting security token generated from my server to work properly. I modified the basicLive.js of the demo in AgoraWebSDK-NG to work with my server. I'm using the Golang api provided by Agora to generate the token. Some information:
AppID: ---
App Certificate: ---
channel name: liveshow10
uid: 51495 (I assume Agora does not care about this as long as it is uint32)
token expiration seconds: 3600
generated token: 006cb08a5a2ddc049f79f29d9b52e5909b0IABKKxbI64sFWnkyEICQrL+0DeTsrN9ckKMkDj/oir36aV+tq536WyGcIgCHHmUFHNv6XgQAAQCsl/leAgCsl/leAwCsl/leBACsl/le
But I'm getting bunch of error in the console. I think it boils down to an authorization error the token generated somehow is invalid. Below is the browser console and thanks for any help:
For anyone following along, the issue was related to UID. In the above code the token is generate specifically for UID 51495 but in the Agora Demo, the JoinChannel method passes null as the UID value which tells the SDK to generate its own UID for that user.
When attempting to join a channel with a different UID than the one used to generate the token, you will receive an error.
If you want to generate a token that can be used by any user, you need to set the UID to 0 in the token generation, and then you can use any UID join the channel with this token.
Update: The UID 0 detail can be found in the Token Server API reference within the UID parameter description docs.agora.io/en/video/token_server#api-reference

Walmart API - Public Key Upload failure

One month ago I was able to upload a public key on Walmart.io but now it is not the case anymore, the server is failing giving back a 444 error:
Error: "Error. Please Try Again " + Error: Bad response 444 from server when creating Upload key.
So it is impossible to save the public key and generate a consumer id to use the APIs.
Anyone facing the same problem recently?

WSO2 IS KM JavaException: org.jaggeryjs.scriptengine.exceptions.ScriptException: First Element must contain the local name, Envelope

I am using WSO2 Identity Server Key Manager (wso2is-km), and at im login to dashboard have message
HTTP Status 500 - org.mozilla.javascript.JavaScriptException: JavaException: org.jaggeryjs.scriptengine.exceptions.ScriptException: First Element must contain the local name, Envelope , but found html (/dashboard/controllers/wsUtil.jag#76)
I was solve this issue, please check Log Category on WSO2IS-Km change from DEBUG to INFO

Passbook update tag: if-modified-since (null)

I am using Restlet2.0 (java) to build passbook server. When I send a Push Notification to APNs with PushToken, I got message 'if-modified-since (null)' from the server log:
entity.getText() : {"logs":["[2013-03-31 00:18:29 +1100] Get pass task
(pass type pass.xxxxxx.freehug, serial number ABC, if-modified-since
(null); with web service url
http://192.168.1.43:8080/passbook/restlet) encountered error:
Server response was malformed (Missing response data)"]}
This responding URL matches the router defined for the LoggingResource class (Line 4), but not the SerialNumbersPassWithDeviceResource class (Line 2) which defines the passUpdatedSince={tag} parameter to be captured for the latest pkpass comparison:
router.attach("/v1/devices/{deviceLibraryIdentifier}/registrations/{passTypeIdentifier}/{serialNumber}", DeviceRegistrationResource.class); //1/4. Registration - POST/DELETE
router.attach("/v1/devices/{deviceLibraryIdentifier}/registrations/{passTypeIdentifier}?passUpdatedSince={tag}", SerialNumbersPassWithDeviceResource.class); //2. SerialNumbers - GET
router.attach("/v1/passes/{passTypeIdentifier}/{serialNumber}", LatestVersionPassResource.class); //3. LatestVersion - GET
router.attach("/v1/log", LoggingResource.class); //5. Logging - POST
So where can I set the Update Tag (passUpdatedSince={tag}) and how can I get it under the router in above Line 2? Is my router setup for getting Update tag correct?
The passUpdatedSince={tag} value is set from the last successful response that your web service gave to the requsest:
https://{webServiceURL}/v1/devices/{deviceLibraryIdentifier}/registrations/{passTypeIdentifier}
You set it by providing a key of lastUpdated in the JSON dictionary response to the above request. The value can be anything you like, but the simplest approach would be to use a timestamp.
The if-modified-since value is set by the Last-Modified HTTP header sent with the last .pkpass bundle received matching the passTypeIdentifier and serialNumber. Again, you can choose what value to send in this header.
The specific error that you mention above is not due to either of these. It is caused by your web service not providing a .pkpass bundle in response to the request to:
https://{webServiceURL}/v1/passes/{passTypeIdentifier}/{serialNumber}
You may want to try hooking your device up to Xcode, turning on PassKit logging (Settings -> Developer), then monitoring the device's console log as you send the push. This may give you more detail as to why the device sent the message to your web service log.