Git Product home page Git Product logo

Comments (7)

bdemers avatar bdemers commented on July 19, 2024

@johnoliver thanks for the report. We will get the doc link updated, it should be: https://developer.okta.com/reference/error_codes/index

(the previous was a holdover from the original Stormpath version)

Re: the ResourceException every method of the client can throw a resource exception. From Oracle's docs

Here's the bottom line guideline: If a client can reasonably be expected to recover from an exception, make it a checked exception. If a client cannot do anything to recover from the exception, make it an unchecked exception.

That said, we can definitely add better doc around handling of a ResourceException

from okta-sdk-java.

EarthCitizen avatar EarthCitizen commented on July 19, 2024

For verification, the only exception I should worry about dealing with from a client instance is ResourceException?

from okta-sdk-java.

bdemers avatar bdemers commented on July 19, 2024

Correct, can you give us an example of the exception that you are seeing? (is it a server side validation issue or something else?)

from okta-sdk-java.

EarthCitizen avatar EarthCitizen commented on July 19, 2024

from okta-sdk-java.

bdemers avatar bdemers commented on July 19, 2024

I mean the actual exception that you where were seeing? Was it a connection error, a 404, 400, etc?

from okta-sdk-java.

EarthCitizen avatar EarthCitizen commented on July 19, 2024

Unfortunately, at the time I was looking at that, I did not examine it that closely. But, with the updated information I have from you guys confirming that only ResourceException is thrown from the client, and confirmation that status is the HTTP status code, I am going to be using that property. Is there anything specific that you need me to look for and report back to you?

from okta-sdk-java.

bdemers avatar bdemers commented on July 19, 2024

Nope, I was just interested in why you were hitting the exception

from okta-sdk-java.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.