MindbodyApi iOS app throws a "201" error code - ios

While implementing MindbodyApi's soap services particularly ClientServices i continuously got an error code of 201 .. Error code 201 is nested error.

I have been told by mindbody support that this error happens when fields does not match with mindbody online.
Hope it helps :)

Related

What's the difference between `WKNavigationDelegate` `didFail` and `didFailProvisionalNavigation`

iOS WKWebView's WKNavigationDelegate has two methods to handle a failed navigation:
webView(_:didFail:withError:): "Tells the delegate that an error occurred during navigation."
webView(_:didFailProvisionalNavigation:withError:): "Tells the delegate that an error occurred during the early navigation process."
The docs only tell us that the one type occurs earlier in the navigation process than the other. The error arguments are generic, so no help there. Brave and Firefox iOS only handle didFailProvisionalNavigation as far as I can tell from reading their source.
My questions are:
What's the difference exactly between the two types of errors?
Is there a list of errors that can occur for each?
When is it necessary to handle didFail seeing that browsers don't seem to handle that?
webView(_:didFailProvisionalNavigation:withError:)
This method handles errors that happen before the resource of the url can even be reached. These errors are mostly related to connectivity, the formatting of the url, or if using urls which are not supported.
The error codes delivered here are found in
https://developer.apple.com/documentation/cfnetwork/cfnetworkerrors
Typical examples are
kCFURLErrorTimedOut = -1001 // timed out
kCFURLErrorUnsupportedURL = -1002 // unsupported URL
kCFURLErrorCannotFindHost = -1003 // host can not be found
kCFURLErrorFileDoesNotExist = -1100 // file does not exist on the server
webView(_:didFail:withError:)
Here, errors are reported that happen while loading the resource. These are usually errors caused by the content of the page, like invalid code in the page itself that the parser can't handle.

WorkFusion RPAExpress Exception Handling

I'm using Error Handling in WorkFusion.
Is there a way to see the error message in the catch block i.e. exception occurred block.
How about using:
<log>exception_msg_var</log>
or
println exception_msg_var
exporting exceptions to datastore?
To get the error message in RPA Express, you can keep the code outside of exception handling and then, the software will through error message on its' own. Once you get the type of error (by running the bot once), you can put the solution in catch block by keeping the code inside exceptional handling feature.

Twitter streaming api 140dev error

I am using 140dev Twitter Database Server (PHP) and I am continually getting this error in get_tweet.php. the error I'm getting from the php-error.log file in the Windows/Temp/ directory
PHP Notice: Undefined property: stdClass::$created_at in C:\inetpub\wwwroot\140dev\db\get_tweets.php on line 58
line 58 in get_tweets.php is:
$dateStamp = $this->oDB->telldate($tweet_object->created_at);
I'm not sure why I'm getting this error. There are tons of other instances where $tweet_object->created_at is being used, but I don't get error messages in the php-errors.log file.
Any help would be greatly appreciated!
Okay so I found out that the code I've inherited was not handling all the other messages that occur in the streaming api.
to fix the logged Notice I set an if check before the json processing code:
if(isset($tweet_object->created_at)){
//Do stuff
}
This resolved the Notice messages. It's annoying that I didn't think of a Null check earlier.
*Note: I did try using the property_exists() method in the if statement, but that still displayed the Notice message. Just in case anybody was interested.

Facebook Error Codes list?

Is there a place where I can find complete list of Facebook's error codes?
In my app's stats I have a few 1340004 errors:
Method: dialog:oauth:touch
Error Code: 1340004
Failures: 436
Sampled Method Calls: 1,172
Failure Rate: 37.2%
But what the hell IS that 1340004 error?? The answer is nowhere to be found, and FB's docs got only a small list of payment erros, which are 138**.
Where's the doc for ALL FB error codes?
Thanks.
I noticed that I have the same error:
Method: dialog:oauth:popup
Error Code: 1340004
Failures: 410
Sampled Method Calls: 816
Failure Rate: 50,2%
This data is from 2 days ago, yesterday I reduced Failure Rate to 1'1% and I think that I will not have any failure today. I had a lot of errors with tokens, since 2 days ago I receive longer access_tokens, and I had in my DB a short varchar field for this access_token and the result was truncated access_tokens.
I changed this field yesterday, I suspect that I reduced this error for my fix, but I'm not sure.

Ripple.js navigator.geolocation.clearWatch

the following raises and error:
navigator.geolocation.clearWatch(gpsWatchId);
the error:
Uncaught TypeError: Cannot read property 'intervalId' of undefined ripple.js:478
u.clearWatch ripple.js:478
Any ideas?
I'm also getting this error and I've reported the issue here:
https://github.com/blackberry/Ripple-UI/issues/629
I've seen this error in a variety of situations, most recently as a result of a call to blackberry.event.addEventListener(). So I don't think it's your code. Maybe you could provide the details of your specific situation at the url above to help the ripple-ui developers resolve the issue?

Resources