Coder Social home page Coder Social logo

freshbooks-java-sdk's People

Contributors

actions-user avatar amcintosh avatar raernon avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

raernon hbloom

freshbooks-java-sdk's Issues

Run tests on Java 17

  • Start testing against Java 17 (LTS).
  • Stop testing on Java 16 (non-LTS) as it went out of support in September 2021

Support new API version error format

While FreshBooks API versions are not yet documented, the recent versions (2022-10-31 and forward) feature a slightly different response format when some /accounting endpoints fail.

Update the accounting handlers to handle both formats.

Could not resolve net.amcintosh:freshbooks-sdk:0.5.0.

Hello, I am building software in Java that needs to integrate with freshbooks; and I am trying to use your sdk... When I include the gradle implementation line and run the gradle build, I am getting an error (issue title): Could not resolve net.amcintosh:freshbooks-sdk:0.5.0.

I've tried explicitly defining your git repo in my settings.gradle like so:
sourceControl { gitRepository("https://github.com/amcintosh/freshbooks-java-sdk.git") { producesModule("net.amcintosh:freshbooks-sdk") } }

This gets me a different error:
Could not find any version that matches net.amcintosh:freshbooks-sdk:0.5.0. Searched in the following locations: - Git repository at https://github.com/amcintosh/freshbooks-java-sdk.git

Refactor FreshBooksException

Currently FreshBooksException doesn't handle cases where there are multiple errors in the response as can be the case for validation errors.

This is true for both accounting resources as well as project.

It is most acute for project-like resources as the error message currently generated provides no details as to which field is missing in the case of required field validation.

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.